Windows Environment Variables
Windows environment variables can be used in various path and file specifications in AllSync. To have all environment variables displayed, callTools
– Environment Variables
in the AllSync menu bar or select Show Variables
via the left menu of the Profile Properties.

Syntax:
%EnvironmentVariable%Example:
The environment variable%USERNAME%
is replaced with the user logged on.
Example: The folder C:\%USERNAME%
becomes C:\Admin
.
Environment Variable | Example |
---|---|
%ALLUSERSPROFILE% | C:\ProgramData |
%APPDATA% | C:\Users\john\AppData\Roaming |
%CommonProgramFiles% | C:\Program Files (x86)\Common Files |
%CommonProgramFiles(x86)% | C:\Program Files (x86)\Common Files |
%CommonProgramW6432% | C:\Program Files\Common Files |
%COMPUTERNAME% | WORK-PC |
%HOMEDRIVE% | C: |
%HOMEPATH% | \Users\john |
%LOCALAPPDATA% | C:\Users\john\AppData\Local |
%ProgramData% | C:\ProgramData |
%ProgramFiles% | C:\Program Files (x86) |
%ProgramFiles(x86)% | C:\Program Files (x86) |
%ProgramW6432% | C:\Program Files |
%PUBLIC% | C:\Users\Public |
%SystemDrive% | C: |
%SystemRoot% | C:\Windows |
%TEMP% | C:\Users\john\AppData\Local\Temp |
%TMP% | C:\Users\john\AppData\Local\Temp |
%USERNAME% | john |
%USERPROFILE% | C:\Users\john |
%windir% | C:\Windows |