The following table lists the environment variables you can use when adding a
file or folder path to the list.
Environment Variable
|
Example
|
Equivalent Path
|
$allappdata$
|
$allappdata$\test\sample.exe
|
C:\ProgramData\test\sample.exe
|
$allprograms$
|
$allprograms$\test\sample.exe
|
C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\test\sample.exe
|
$programdir$
|
$programdir$\test\sample.exe
|
C:\Program Files\test\sample.exe
|
$programdirx86$
|
$programdirx86$\test\sample.exe
|
C:\Program Files (x86)\test\sample.exe
|
$rootdir$
|
$rootdir$\test\sample.exe
|
C:\test\sample.exe
|
$systemdir$
|
$systemdir$\test\sample.exe
|
C:\Windows\System32\test\sample.exe
|
$systemdirx86$
|
$systemdirx86$\test\sample.exe
|
C:\Windows\SysWOW64\test\sample.exe
|
$tempdir$
|
$tempdir$\test\sample.exe
|
C:\Windows\Temp\test\sample.exe
|
$userprofile$
|
$userprofile$\test\sample.exe
|
C:\user\{current_user_account}\test\sample.exe
|
$windir$
|
$windir$\test\sample.exe
|
C:\Windows\test\sample.exe
|