Friday, July 2, 2010

Add a folder to the windows path

Modifying the path statement will enable an MS-DOS window as well as older programs to locate files that may be required to run the program.

TO set the path, follow these steps:

1. From the desktop, right-click "My Computer" and click "Properties".
2. In the System Properties window, click on the "Advanced" tab.
3. In the "Advanced" section, click the "Environment Variables" button.
4. Finally, in the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button.
5. Add or modify the path lines with the paths you wish the computer to access.
6. Each different directory is separated with a semicolon as shown as:-
C:\Program Files\MiKTeX2.7\miktex\bin;C:\Python25\PyQt4\bin;

You can now able to run your program.