title: Location of File suppressing error.'error 193'
body: <p>I am getting the error
      <pre> WindowsError: [Error 193] %1 is not a valid Win32 application </pre>
  on my console when i am running the command
      <pre>python triaging_flow.py</pre>
  from Desktop.
  <br>
  But at the same time when <strong>i copy the same .py file to a random folder</strong> which i created and <strong>executing the same command</strong> in the new directory from console, <strong>it is running</strong>.
  <br><br></p>
  
  <pre><code>   File "triaging_flow.py", line 107, in &lt;module&gt;
      browser=webdriver.Chrome();
     File "C:\Python27\lib\site-packages\selenium-2.48.0-py2.7.egg\selenium\webdriver\chrome\webdriver.py", line 61, in __init__
  self.service.start()
     File "C:\Python27\lib\site-packages\selenium-2.48.0-py2.7.egg\selenium\webdriver\chrome\service.py", line 66, in start
  self.service_args, env=env, stdout=PIPE, stderr=PIPE)
     File "C:\Python27\lib\subprocess.py", line 710, in __init__
  errread, errwrite)
     File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  startupinfo)
  </code></pre>
  
  <p>I followed up on few instances similar to this :
  <a href="https://stackoverflow.com/questions/5538671/python-call-to-external-program-results-in-error-193-1-is-not-a-valid-win32-a">python Call to external program results in [Error 193] %1 is not a valid Win32 application</a></p>
  
  <p>And found that it is not a versioning issue. I am guessing it might be a environment variable path issue. </p>
  
  <p>Path specified is: 
      <pre>C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\</pre></p>
  
  <p>Has anyone faced a similar issue? Any heads up regarding this would be great.</p>
  
  <p><strong>PS</strong>: I can continue my work by pasting the file in a folder but wanted to know if there is any specific reason for this issue.</p>
  
  <p>Thanks </p>
  
  <p>Thomas</p>