13 Security Lab

Windows XP와 VIsta/7 환경변수 비교 본문

Articles

Windows XP와 VIsta/7 환경변수 비교

Maj0r Tom 2016. 7. 3. 14:06
Variable Windows XP Windows Vista & 7
%ALLUSERSPROFILE% C:\Documents and Settings\All Users C:\ProgramData
%APPDATA% C:\Documents and Settings\\Application Data C:\Users\(username}\AppData\Roaming
%CommonProgramFiles%   C:\Program Files\Common Files
%COMPUTERNAME%
 
%COMSPEC% C:\Windows\System32\cmd.exe C:\Windows\System32\cmd.exe
%HOMEDRIVE% C: C: or sometimes D:
%HOMEPATH% \Documents and Settings\ \Users\
%LOCALAPPDATA%   C:\Users\\AppData\Local
%PATH% C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem Varies. Includes C:\Windows\System32\;C:\Windows\
%PATHEXT% .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH; .MSC
%ProgramData%   C:\ProgramData
%PROGRAMFILES% Directory containing program files, usually C:\Program Files Directory containing program files, usually C:\Program Files
%ProgramFiles(x86)%   In 64-bit systems, directory containing 32-bit programs. Usually C:\Program Files (x86)
%PROMPT% Code for current command prompt format. Code is usually $P$G Code for current command prompt format. Code is usually $P$G
%Public%   C:\Users\Public
%SYSTEMDRIVE% The drive containing the Windows XP root directory, usually C: The drive containing the Windows  root directory, usually C:
%SYSTEMROOT% The Windows XP root directory, usually C:\Windows The Windows root directory, usually C:\Windows
%TEMP% and %TMP% C:\DOCUME~1\\LOCALS~1\Temp C:\Users\\AppData\Local\Temp
%USERNAME%    
%USERPROFILE% C:\Documents and Settings\ C:\Users\
%WINDIR% C:\Windows Usually C:\Windows

 

 

Comments