About Me
- Name: SWeidner
- Location: Elk Point, South Dakota, United States
My Blogger Code
B5 d+ t k s u- f- i- o- x-- e l- c (decode it!)
My Geek Code
GAT/IT d-(+) s+(): a C+++$ ULC+++>$ P++>++++ L++$>++++ !E W++>$ N+ !o !K w+()@ !O !M- !V PS-(--)@>--- PE+ Y-- PGP>++ t+ !5(-) X+ !R- tv-(+)? b+ DI++++ D++>$ G e+>++ h----(-) r+++ y++++
Links
Blogmap
AdSense
Archives
Steve's random ramblings and technical notes
Thursday, June 09, 2005
Adding an entry to Windows Path
The PATH statement in Windows (and DOS) controls the directories and the order in which they are searched for any executable (binary) command or file that is called from the command-line or from another program.
To add an directory to the beginning of your PATH environment variable (thereby insuring that your file is the one to be used if multiple versions are in the path):
Originally found (and modified from) here
To add an directory to the beginning of your PATH environment variable (thereby insuring that your file is the one to be used if multiple versions are in the path):
- Click
- Right-click on "My Computer" to select Properties.
- Click the "Advanced" tab.
- Click the "Environment Variable" button.
- Scroll down the "System variables" list to the "Path" variable.
- Double click on "Path"
- Press the "Home" key
- Type (including the trailing semicolon) c:\bin;
- Click "OK"
- Click "OK" to close the System Properties window.
Verify the change:
- Click
- Click Run... for a Run window.
- Type "cmd" in the Open: field.
- Click "OK"
- Type "set"
- Locate the line starting with "PATH=" and verify that your directory is there
- Type a command (executable) that is found in your directory
Originally found (and modified from) here