Windows Environment Variables
Windows environment variables can be used in AllSync for various path and file specifications.The available environment variables can be displayed via the AllSync menu bar under Extras → Environment Variables or in the profile properties from the left menu under the entry Environment Variables.
In the profile properties, all environment variables are listed in a table. A double-click on a table row copies the corresponding environment variable to the clipboard.
Syntax: %EnvironmentVariable%
Example: By specifying C:\Backup\%USERNAME%, the environment variable %USERNAME% is replaced with the name of the currently logged-in user; e.g.: C:\Backup\John
Examples
| Environment Variable | Value |
|---|---|
| %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 |





