Zmienne systemowe Windows

Zmienna Wartość
%ALLUSERSPROFILE% XP: C:\Documents and Settings\All Users
Vista/7/10: C:\ProgramData
%APPDATA% XP: C:\Documents and Settings\{username}\Application Data
Vista/7/10: C:\Users\{username}\AppData\Roaming
%COMPUTERNAME% {computername}
%CommonProgramFiles% C:\Program Files\Common Files
%CommonProgramFiles(x86)% C:\Program Files (x86)\Common Files

(w systemach x64)

%ComSpec% C:\Windows\System32\cmd.exe
%HOMEDRIVE% C:
%HOMEPATH% XP: \Documents and Settings\{username}
Vista/7/10: \Users\{username}
%LOCALAPPDATA% Vista /7/10: C:\Users\{username}AppData\Local
%LOGONSERVER% \\{domain_logon_server}
%Path% %SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM;

Przykład: Path=C:\Program Files\Common Files\Siemens\Automation\Simatic OAM\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\OpenVPN\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone\;C:\Users\StaF\AppData\Local\Microsoft\WindowsApps;

%PATHEXT% XP: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.WSF;.WSH
Vista/7/10: .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc
%ProgramFiles% C:\Program Files
%ProgramFiles(X86)% C:\Program Files (x86) (tylko 64-bit version)
%PROMPT% $P$G
%SystemDrive% C:
%SystemRoot% C:\Windows
%TEMP% and %TMP% XP: C:\Documents and Settings\{username}\Local Settings\Temp
Vista / 7/10: C:\Users\{username}\AppData\Local\Temp
%USERDOMAIN% {userdomain}
%USERNAME% {username}
%USERPROFILE% XP: C:\Documents and Settings\{username}
Vista /7: C:\Users\{username}
%WINDIR% C:\Windows
%PUBLIC% Vista /7/10: C:\Users\Public
%ProgramData% Vista /7/10: C:\ProgramData
%PSModulePath% Win7/10: %SystemRoot%\system32\Windows\PowerShell\v1.0\Modules