Windows Environment Variables
Windows environment variables can be used at the file and folder filters.Syntax: %Environment Variable%
If
C:\Backup\%USERNAME%
is specified, the environment variable %USERNAME%
is replaced with the name of the logged-in user: C:\Backup\John
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 |