• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III: Appendixes > Predefined Environment Variables

Predefined Environment Variables

Table D.4 lists the default environment variables defined automatically or by the System Properties dialog box. Table D.5 lists “dynamic” variables that automatically reflect system properties.

Table D.4. Predefined Environment Variables
Variable Name Usual Value
ALLUSERSPROFILE C:\Documents and Settings\All Users
APPDATA C:\Documents and Settings\username\Application Data
CommonProgramFiles C:\Program Files\Common Files
COMPUTERNAME computername
ComSpec C:\WINDOWS\system32\cmd.exe
HOMEDRIVE C:
HOMEPATH \Documents and Settings\username
LOGONSERVER (Varies)
NUMBER_OF_PROCESSORS (Varies)
OS Windows_NT
Path C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem, but this varies depending on the location of Windows
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS
PROCESSOR_ARCHITECTURE (Varies)
PROCESSOR_IDENTIFIER (Varies)
PROCESSOR_LEVEL (Varies)
PROCESSOR_REVISION (Varies)
ProgramFiles C:\Program Files
PROMPT $P$G
SESSIONNAME (Varies)
SystemDrive C:
SystemRoot C:\WINDOWS
TEMP C:\DOCUME~1\username\LOCALS~1\Temp
TMP C:\DOCUME~1\username\LOCALS~1\Temp
USERDOMAIN computername or domainname
USERNAME username
USERPROFILE C:\Documents and Settings\username
windir C:\WINDOWS



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint