You'll need to set the PATH. There are several paths, and in the end they (usually) get merged in to one.
PATH entries are delimited by semicolon (;).
Two are managed by Windows:
Under Windows 7, the first two are easy to find: open the start menu and type PATH.
Under older Windows version, you'll need to find the Environment Variables settings. There are several ways to get to them, and it varies by Windows version, but the other answers are valid.
A third is process-specific:
- The current process path. Affects the current process and any new processes it creates.
If you're in a PowerShell session, the PATH is visible as $env:PATH
. To add something, use +=
. I'd recommend using env. vars. instead of hard paths where possible.
PS > $env:PATH += ";C:\Python26\"
PS > $env:PATH += ";$($env:ProgramFiles)\Bar\"
Normally you'd do this in your profile. The path can be found at $profile
:
PS > notepad $PROFILE