Windows Environment Variables
Windows environment variables can be used in various path and file specifications in AllSync. You can display the Windows environment variables by opening theEnvironment variables
menu item under Extras
in the AllSync menu bar or by selecting Environment variables
in the profile properties in the left menu.
Syntax: %EnvironmentVariable%
If
C:\Backup\%USERNAME%
is specified, the environment variable %USERNAME%
is replaced with the name of the logged-in user: C:\Backup\John
Profile Properties
The environment variables in the table can be copied to the clipboard by double-clicking.Examples
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 |