System variables
Some of the settings available in the console require specifying the path on the target computers.
It is advisable to use system variables (where appropriate) to make sure the path is valid on all target computers.
Here is the list of the predefined system variables:
System
Windows kernel process.
Note
The path should not be appended.
%system%
The system32 folder.
Typical path:
C:\Windows\system32
%ALLUSERSPROFILE%
The All Users profile folder.
Typical path:
C:\Documents and Settings\All Users
%AppData%
The Application Data folder of the logged-in user.
Typical path:
C:\Users\{username}\AppData\Roaming
%LOCALAPPDATA%
Folder containing temporary application files.
Typical path:
C:\Users\{username}\AppData\Local
%ProgramFiles%
The Program Files folder.
Typical path:
C:\Program Files
%USERPROFILE%
The path to the user's profile folder.
Typical path:
C:\Documents and Settings\{username}
On macOS, the user's profile folder corresponds to the
Home
folder. Use$HOME
or~
when configuring exclusions.%CommonProgramFiles%
The Common Files folder.
Typical path:
C:\Program Files\Common Files
%COMMONPROGRAMFILES(X86)%
Directory containing components shared across 32-bit applications (on 64-bit systems).
Typical path:
C:\Program Files (x86)\Common Files
%WinDir%
The Windows directory or SYSROOT.
Typical path:
C:\Windows
%WinDir%\System32
The Windows system directory for 32-bit applications (on 64-bit systems).
Typical path:
C:\Windows\System32
%TEMP%
Folder containing configurations and cached data for all applications installed on the machine.
Typical path:
C:\Users\{username}\AppData\Local\Temp
%PROGRAMFILES(X86)%
The Program Files folder for 32-bit applications (on 64-bit systems).
Typical path:
C:\Program Files (x86)
%SystemDrive%
This is a system-wide environment variable found in Windows NT and its derivatives. Its value is the drive where the system directory is located.
The typical drive is
C:
.