Windows 2000 Professional handles environment variables a little differently than past operating systems such as DOS and Windows 9x, separating them into two categories: those for all users, and those for the current user. The variables are stored in the appropriate user profiles, enabling Windows 2000 to apply the correct ones when a user logs on.
You can view and configure environment variables by right-clicking My Computer and choosing Properties. Click the Advanced tab, and then clicking Environment Variables to open the Environment Variables dialog box. You can use the controls on this dialog box to edit the value of existing variables, remove them, or add new ones. The variables in the top half of the dialog box apply to the current user, and those in the bottom half apply to all users.
Replaceable parameters you can use in environment variables include:
- %username% — User's current logon account name
- %userdomain% — User's current logon domain name
- %windir% — Location of the Windows 2000 folder
- %os% — OS version
- %processor_architecture% — System processor type
- %processor_level% — System processor level
- %homepath% — Path to the user's home directory
- %homedrive% — The drive where the user's home directory is located
- %homeshare% — The share name of the user's home directory
Check out the Windows 2000 Professional archive, and catch up on previous Windows 2000 Professional tips.