I\'ve been trying to add the Python path to the command line on Windows 7, yet no matter the method I try, nothing seems to work. I\'ve used the set
command, I\
I know this post is old but I'd like to add that the solutions assume admin privs. If you don't have those you can:
Go to control panel, type path (this is Windows 7 now so that's in the Search box) and click "Edit Environment variables for your account". You'll now see the Environment Variable dialog with "User variables" on the top and "System variables" below.
You can, as a user, click the top "New" button and add:
Variable name: PATH
Variable value: C:\Python27
(no spaces anywhere) and click OK. Once your command prompt is restarted, any PATH in the User variables is appended to the end of the System Path. It doesn't replace the PATH in any other way.
If you want a specific full path set up, you're better off creating a batch file like this little one:
@echo off
PATH C:\User\Me\Programs\mingw\bin;C:\User\Me\Programs;C:\Windows\system32
title Compiler Environment - %Username%@%Computername%
cmd
Call it "compiler.bat" or whatever and double click to start it. Or link to it. Or pin it etc...