Get the App
SLTechnology News&Howtos  ›  Servers  › 

Collation of common environmental variables

Shulou Source: shulou.com Published: 2022-06-03 04:41:04 09月21日 Update

% 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%

Tags: System file name command folder user program desktop directory cache processing variable environment precision operating system code location processor actually actually Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Docker Microsoft MariaDB vpn