title: Python wont run with Task Scheduler but will run normally?
body: <p>For some reason, which totally blows my mind, I have a python program that won’t work when I have the windows Task Scheduler run it.  I just updated the program, and while it ran successfully EVERY time before, it fails every time now.<br>
  The really strange thing is if I run the python script independent of the Task Scheduler, it works just fine!</p>
  
  <p>So the main difference between the old program and the new program is the old one used urllib.request and the new one runs locally with open(), os.listdir, and os.path.join
  When I run the program through windows Task Scheduler, the result on the Scheduler says “(0x1)” and also a Windows CMD window flashes up saying:</p>
  
  <pre><code>Traceback &lt;most recent call last&gt;:
  File “C:\Users\User\Documents\Python\Test\Client\Beige.py” , line 16 in (module)
  For filename in os.listdir(‘Website_Check”):
  FileNotFoundError: [WinError3]  the system cannot find the path specified:
  “Website_Check”
  </code></pre>
  
  <p>So basically, when I run the program straight up, it accesses the external .txt file just fine, but from Task Scheduler it doesn’t?  I need help.  Anyone else have any experience with this one?</p>
  
  <p>(I know I could just store the txt file in the same directory and not a subdir, but I have to have another folder with another program modifying the txt file every day)</p>