System variables

Prev Next

The path specified in a protection rule can include system environment variables. This table lists the supported system variables.

Variable

Example value (for most Windows platforms)

%ALLUSERSPROFILE%

C:\Documents and Settings\All Users

%APPDATA%

C:\Documents and Settings\{username}\Application

%COMMONPROGRAMFILES%

C:\Program Files\Common Files

%COMMONPROGRAMFILES (x86)%

C:\Program Files (x86)\Common Files

%HOMEDRIVE%

C:

%HOMEPATH%

C:\Documents and Settings\{username} or \ (for earlier Windows versions)

%PROGRAMFILES%

C:\Program Files

%PROGRAMFILES (x86)%

C:\Program Files (x86) (only in 64-bit versions)

%SYSTEMDRIVE%

C:

%SYSTEMROOT%

C:\windows (C:\WINNT in earlier Windows versions)

%TEMP% (system) %tmp% (user)

C:\Documents and Settings\{username}\local Settings\Temp

C:\Temp

%USERPROFILE%

C:\Documents and Settings\{username} (C:WINNT\profiles\{username} in earlier versions)

%WINDIR%

C:\Windows