2010-10-05

Widnows Environmental Variables

Variable Windows Vista / 7


%COMPUTERNAME% {computername}
%HOMEDRIVE% C:\
%SYSTEMDRIVE% C:\
%SYSTEMROOT% C:\Windows
%WINDIR% C:\Windows
%COMSPEC% C:\Windows\System32\cmd.exe
%PROMPT% Code for current command prompt format. Code is usually $P$G
%PATH% C:\Windows\system32;C:\Windows;
%PATHEXT% .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc
%ALLUSERSPROFILE% C:\ProgramData
%USERNAME% {username}
%TEMP% and %TMP% C:\Users\{username}\AppData\Local\Temp
%APPDATA% C:\Users\{username}\AppData\Roaming
%HOMEPATH% C:\Users\{username}
%USERPROFILE% C:\Users\{username}
%PUBLIC% C:\Users\Public
%PROGRAMFILES% C:\Program Files
%PROGRAMFILES(X86)% C:\Program Files (x86) (64-bit only)



Variable Windows XP


%COMPUTERNAME% {computername}
%HOMEDRIVE% C:\
%SYSTEMDRIVE% C:\
%SYSTEMROOT% The Windows directory, usually C:\Windows, formerly C:\WINNT
%WINDIR% C:\Windows
%COMSPEC% C:\Windows\System32\cmd.exe
%PROMPT% Code for current command prompt format. Code is usually $P$G
%PATH% C:\Windows\System32\Wbem;{plus program paths}
%PATHEXT% .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.WSF;.WSH
%ALLUSERSPROFILE% C:\Documents and Settings\All Users
%USERNAME% {username}
%TEMP% and %TMP% C:\Documents and Settings\{username}\Local Settings\Temp
%APPDATA% C:\Documents and Settings\{username}\Application Data
%HOMEPATH% C:\Documents and Settings\{username}
%USERPROFILE% C:\Documents and Settings\{username}
%PUBLIC%
%PROGRAMFILES% C:\Program Files
%PROGRAMFILES(X86)% C:\Program Files (x86) (64-bit version only)

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου