Monday, March 22, 2010

Adding any directory path to environment variable "PATH" in windows

To add any path to your system's PATH environment variable to be used as search path please follow the steps below.

Right click on "My Computer" then select properties.


Now click on "Environment Variables" button. Now it will open up environment variables list.



Under "System Variables" select "Path" variable and "edit"


Go to last add ";" and add path of your directory path. Suppose you want to add "C:\Bin" in path variable. After adding it say "OK".

And It's done.









To check whether your path is added or not, open a new cmd.exe from run. and type "path". you will see you directory added there.

No comments:

Post a Comment