Windows Environment Variables and Paths
Aus MattWiki
List of Windows Environment Variables
Variable | Example |
---|---|
%HOMEDRIVE% | C: |
%HOMEPATH% | \Users\Alice |
%LOCALAPPDATA% | C:\Users\Alice\AppData\Local |
%PROGRAMDATA% | C:\ProgramData |
%PROGRAMFILES% | C:\Program Files |
%PROGRAMFILES(X86)% | C:\Program Files (x86) |
%PUBLIC% | C:\Users\Public |
%RANDOM% | Provides a random integer number |
%SYSTEMDRIVE% | C: |
%SYSTEMROOT% | C:\Windows |
%USERNAME% | Alice |
%USERPROFILE% | C:\Users\Alice |
%WINDIR% | C:\Windows |
%COMSPEC% | C:\WINDOWS\system32\cmd.exe |
Start Menu
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu