Variable |
Windows XP |
Windows Vista/7 |
%ALLUSERSPROFILE% %PROGRAMDATA% |
C:\Documents and Settings\All Users |
C:\ProgramData |
%APPDATA% |
C:\Documents and Settings\{username}\Application Data |
C:\Users\{username}\AppData\Roaming |
%COMPUTERNAME% |
{computername} |
{computername} |
%COMMONPROGRAMFILES% |
C:\Program Files\Common Files |
C:\Program Files\Common Files |
%COMMONPROGRAMFILES(x86)% |
C:\Program Files (x86)\Common Files |
C:\Program Files (x86)\Common Files |
%COMSPEC% |
C:\Windows\System32\cmd.exe |
C:\Windows\System32\cmd.exe |
%HOMEDRIVE% |
C: |
C: |
%HOMEPATH% |
\Documents and Settings\{username} |
\Users\{username} |
%LOCALAPPDATA% |
|
C:\Users\{username}\AppData\Local |
%LOGONSERVER% |
\\{domain_logon_server} |
\\{domain_logon_server} |
%PATH% |
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} |
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} |
%PATHEXT% |
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.WSF;.WSH |
.com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc |
%PROGRAMFILES% |
%SystemDrive%\Program Files |
%SystemDrive%\Program Files |
%PROGRAMFILES(X86)% |
%SystemDrive%\Program Files (x86) (64비트 한정) |
%SystemDrive%\Program Files (x86) (64비트 한정) |
%PROMPT% |
현재 커맨드 프롬프트 포맷. 일반적으로 $P$G |
현재 커맨드 프롬프트 포맷. 일반적으로 $P$G |
{Drive}:\$Recycle.Bin |
C:\Recycle.Bin |
C:\$Recycle.Bin |
%SystemDrive% |
C: |
C: |
%SystemRoot% |
윈도 폴더. 일반적으로 C:\Windows
가끔 C:\WINNT |
%SystemDrive%\Windows |
%TEMP%%TMP% |
%SystemDrive%\Documents and Settings\{username}\Local Settings\Temp |
%SystemDrive%\Users\{username}\AppData\Local\Temp |
%USERDOMAIN% |
{userdomain} |
{userdomain} |
%USERDATA% |
%SystemDrive%\Documents and Settings\{username} |
%SystemDrive%\Users\{username} |
%USERNAME% |
{username} |
{username} |
%USERPROFILE% |
%SystemDrive%\Documents and Settings\{username} |
%SystemDrive%\Users\{username} |
%WINDIR% |
C:\Windows |
C:\Windows |
%PUBLIC% |
|
%SystemDrive%\Users\Public |
%PROGRAMDATA% |
|
%SystemDrive%\ProgramData |
%PSModulePath% |
|
%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\ |