# Subprocess.cal issue - FileNotFoundError: \[WinError 2\]

**URL:** <https://discuss.python.org/t/subprocess-cal-issue-filenotfounderror-winerror-2/25813>\
**Category:** Python Help\
**Created:** [April 14, 2023, 3:15pm UTC](https://discuss.python.org/t/subprocess-cal-issue-filenotfounderror-winerror-2/25813 "2023-04-14T15:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Susja](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/susja/32/4697_2.png) [@Susja](https://discuss.python.org/u/Susja)\
**Post date:** [April 14, 2023, 5:51pm UTC](https://discuss.python.org/t/subprocess-cal-issue-filenotfounderror-winerror-2/25813/4 "2023-04-14T17:51:10Z")

</div>

> [@Susja](#):
>
> `subprocess`

Folks, Thanks so much … providing this parameter fixed the issue.  
One more (minor) thing I hit with my script. I want to have the option to comment/uncomment account that I am interested  
I am using ‘real’ account like this:

```auto
Account = "vhabhsabjoe"
#Account= "vhabhsabnick"

x = subprocess.call('net user /domain Account', shell=True)

```

but it failed to pass Account to sub process. Sounds like my syntax is wrong …  
Here’s the error:

```auto
python WhileLoop_account.py
The request will be processed at a domain controller for domain v01.med.va.gov.

The user name could not be found.

```

---

_[View the full topic](https://discuss.python.org/t/subprocess-cal-issue-filenotfounderror-winerror-2/25813)._
