Saturday, 2 April 2016

[Windows] System Environment Variables

Variable> Description Example
%ALLUSERSPROFILE% All users profile directoy
%APPDATA% Directory for saving application's configuration C:\Users\Administrator\AppData\Roaming
%COMMONPROGRAMFILES% Common Program Files directory C:\Program Files\Common Files
%COMPUTERNAME% Workstation name DORBAE_LAPTOP
%COMSPEC% Directory path where cmd.exe is located C:\Windows\system32\cmd.exe
%HOMEDRIVE% Local workstation drive related with user home direcoty C:
%HOMEPATH% User home directory full path \Users\Administrator
%NUMBER_OF_PROCESSORS% Count of logical processors\ 8
%OS% Operation system's name Windows_NT
%PROCESSOR_ARCHITECTURE% Kind of workstation's processor AMD64
%PROCESSOR_IDENTIFIER% Identifier of processor Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
%PROCESSOR_LEVEL% Level of processor 6
%PROCESSOR_REVISION% Revision of processor 3c03
%PROGRAMFILES% Location of program files directory C:\Program Files
%SYSTEMDRIVE% Drive where OS is installed C:
%SYSTEMROOT% Location of WINDOWS directory C:Windows
%TEMP% Temporary directory C:\Users\ADMINI~1\AppData\Local\Temp
%TMP% Temporary directory C:\Users\ADMINI~1\AppData\Local\Temp
%USERNAME% User's name Administrator
%USERPROFILE% User profile directory C:\Users\Administrator

No comments:

Post a Comment