Environment Variables
This section lists several key Windows 2000 environment variables. Note that environment variables are dereferenced by enclosing the name between percent signs—for example, %SystemRoot%. System and current user environment variables are modified via the path My Computer Properties→Advanced→Environment Variables:
- PATH
A semicolon-separated list of directories, which are searched in turn for a command entered without a full path.
- PATHEXT
A semicolon-separated list of file extensions that should be applied in turn to bare command names when searching for the proper executable. Extensions in the list must include the initial period.
- PROGRAMFILES
The location of the Program Files folder (usually C:\Program Files).
- SYSTEMROOT
The location of the Windows 2000 system directory (usually C:\WinNT).
- TEMP and TMP
Paths to a directory that applications may use for temporary file and scratch storage space.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access