title: `python` in CMD returns " `python` is not recognized ..."
body: <p>Python 2.7 is installed on <code>C:/Python27</code> (through python(x,y) package). Windows 8.1 x64. How do I make Python 2.7 run from CMD ?</p>
  
  <p>I want to do this as I am following "Learn Python The Hard Way" book and I got stuck on Excercise 0: The Setup.</p>
  
  <p>I have tried:</p>
  
  <ul>
  <li>Powershell <code>[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")</code></li>
  <li>Adding Python to Windows PATH (both through the Control Panel and terminal).</li>
  <li>Copying a python.bat file with <code>@C:\Python27\python.exe %*</code> to the system32.</li>
  <li>Running CMD both as adminstrator and the regualr way.</li>
  <li>Restarting CMD and PC between operations.</li>
  </ul>
  
  <p>Both <code>python</code> and <code>call python</code> executed in CMD return <code>'python' is not recognized</code> message. If I enter in CMD <code>C:\Python27\python.exe</code> then Python starts properly.</p>
  
  <p>User variable Path for me:</p>
  
  <pre><code>C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\OpenVPN\bin;C:\Program Files\Calibre2\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\OpenVPN\bin;C:\Program Files\Calibre2\;C:\Python27\Lib\site-packages\PyQt4;C:\MiKTeX\miktex\bin\;C:\Python27;C:\Python27\DLLs;C:\Python27\Scripts;C:\Python27\Lib\site-packages\vtk;C:\Python27\gnuplot\binary;C:\Python27\Lib\site-packages\osgeo;C:\Program Files (x86)\pythonxy\SciTE-3.3.2-3;C:\Program Files (x86)\pythonxy\console;C:\MinGW32-xy\bin;C:\Program Files (x86)\pythonxy\swig;C:\Program Files (x86)\pythonxy\gettext\bin
  </code></pre>
  
  <p>System variable Path:</p>
  
  <pre><code>C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\OpenVPN\bin;C:\Program Files\Calibre2\;C:\Python27\Lib\site-packages\PyQt4;C:\MiKTeX\miktex\bin\;C:\Python27;C:\Python27\DLLs;C:\Python27\Scripts;C:\Python27\Lib\site-packages\vtk;C:\Python27\gnuplot\binary;C:\Python27\Lib\site-packages\osgeo;C:\Program Files (x86)\pythonxy\SciTE-3.3.2-3;C:\Program Files (x86)\pythonxy\console;C:\MinGW32-xy\bin;C:\Program Files (x86)\pythonxy\swig;C:\Program Files (x86)\pythonxy\gettext\bin
  </code></pre>