Collation of common environmental variables
% windir% is actually an environment variable set by default on the Windows system, indicating the installation directory of the Windows system. If your system is installed on disk C, it may be equal to C:\ Windows (if the system is installed on disk D, it may be D:\ Windows to push in like this. All user profiles folder% AllUsersProfile%=C:\ Documents and Settings\ AllUsers\ temporary folder one of the current user Temp cache% temp% =% USERPROFILE%\ Local Settings\ Temp = C:\ Documents and Settings\ Administrator\ Local Settings\ Temp\ temporary folder system Temp cache% SystemRoot%\ TEMP\ = C:\ WINDOWS\ Temp\ program folder% ProgramFiles%=C:\ ProgramFiles\ the name of the domain containing the user account% USERDOMAIN% Desktop% USERPROFILE%\ Desktop = C:\ Documents and Settings\ Administrator\ location where the application stores data locally by default% APPDATA%=C:\ Documents and Settings\ Administrator\ Application Data displays the current directory% CD%=C:\ Documents and Settings\ Administrator exact command line to start the current Cmd.exe% CMDCMDLINE% current Command processor extension version number% CMDEXTVERSION% computer name% COMPUTERNAME% command line explanation Exact path to the executable program COMSPEC% current date DATE% current time (accurate to milliseconds) error code for a command on TIME% ERRORLEVEL% verify the name of the domain controller for the current login session LOGONSERVER% the number of processors installed on the computer NUMBER_OF_PROCESSORS% operating system name OS%