Environment Variable |
Description |
%ALLUSERSPROFILE% |
Location of All Users Profile |
%APPDATA% |
Location where applications store data by default |
%COMPUTERNAME% |
The name of the computer |
%DATE% |
The date in short format (e.g. DD/MM/YYYY) |
%NUMBER_OF_PROCESSORS% |
The number of processors installed on the computer |
%PATH% |
The paths used as default when running a command without a path (e.g. notepad.exe) |
%PROCESSOR_ARCHITECTURE% |
The processor architechture such as 32bit (x86) or 64bit (IA64) |
%SYSTEMDRIVE%. |
The drive in which the active Windows operating system is installed on |
%TEMP% or %TMP% |
Location of temp folder |
%TIME% |
Current time |
%USERNAME% |
Username of the user currently logged on |
%USERPROFILE% |
Location of the logged on user’s home folder |
%WINDIR% |
Location of Windows directory. |