Adding a directory to Windows’ path

If you are doing development under Windows, you may have to edit Windows’ path.

The task will be illustrated by adding Python’s installation directory to Windows’ path after installing Python to C:\Python27.

Windows XP
Right click on My Computer, then choose Properties.

Windows Vista and 7
Open the file explorer and click on System Properties – Advanced System Configuration. You will be asked for the administrative password.

In Advanced Options, open Environment Variables. In the System Variables section, open “Path” for editing and add ;C:\Python27. Accept as required. Reboot Windows.

Now confirm that Python has been added to Windows’ path: Open a command prompt window and enter python. You should see the Python interpreter with a prompt of >>>. Use Ctrl-Z and enter to exit the interpreter.


About Warren Post

So far: Customer support guy, jungle guide, IT consultant, beach bum, entrepreneur, teacher, diplomat, over-enthusiastic cyclist. Tomorrow: who knows?
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

One Response to Adding a directory to Windows’ path

  1. Pingback: Wget for Windows | Warren's tech notes

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s