How use Python, or Any Program, via CMD Prompt without Full Path

For Windows 7/8/8.1/10:

  1. Right-click on “My Computer” or “This PC”.
  2. Select “Properties”.
  3. Click “Advanced System Settings”.
  4. Click “Environment Variables”.
  5. Under the “System Variables” sub-section select the Variable Path and click “Edit”.
  6. Append “;C:\Python27” to the existing path, click “Ok”, and “Ok” again.
  7. Restart CMD Prompt for the new path setting to take effect.

Source: http://stackoverflow.com/questions/11287597/how-to-make-python-accessible-via-cmd-prompt-without-full-path

Leave a Reply

Your email address will not be published. Required fields are marked *