|
| |
Updating the Environment Variables on Windows
- General instructions:
- Clear your display to see the desktop.
- Hold the flag key down (the Microsoft logo in the bottom left of the
keyboard) while you hit the "M" key.
- Right mouse click on the "My Computer Icon" and select
properties. Then select user profiles. Under windows 2000, you might
have to go to advanced and then user profiles).
- Select the environment variables tab.
- Policy on system v. Administrator
Generally we only want to make changes to the system environment
variables so it will have effect on all the accounts, including the IIS
account (the web server runs under it's own account).
Only if you have something to change that will be specific to an
account will you change the account environment variables. To change the
account environment variables you will have to log in as that account.
Since we mostly use the system account, you will have the option of
changing the Administrator account or the all the accounts (with the
System).
- Under Administrator (assuming you are logged in under administrator)
select the variable you want to update, or type in the variable name you
want to create. Under windows 2000, you have to click the edit button or
the new button.
- Type in the value for it.
- It might be necessary to log out for it to take effect.
- An example from the bash installation is given here. This is a typical
scenerio where we have a bat file that we are supposed to run every time
we boot. It is more efficient instead to put this in the list of
environment variables.
SET MAKE_MODE=UNIX
- Type MAKE_MODE in the space for the variable.
- Type UNIX in the space for the value.
- Click set.
- Click OK if you are done modifying variables for now.
Special instructions for modifying the
path variable.
- The path variable is special: it is a list of directories separated by
a semicolon.
- Scroll down the variables for Administrator and hi-lite
"path" with a left mouse click.
- Click in the edit box for value. (Under windows 2000, hit the edit
button). Hit the "end" key (a single key on the left portion
of the keyboard). This will position the insertion point at the end of
the path variable.
- Type ";"
- Type in the new path variable.
- Click set and OK.
See also
- See
also environment variables for Sun's java.
- See
also environment variables for Visual Studio.
|