%windir% > C:\Windows
%systemroot% > C:\Windows
%systemdrive% > C:
%programfiles% > C:\Program Files
%programdata% > C:\ProgramData
%allusersprofile% > C:\ProgramData
%programfiles(x86)% > C:\Program Files (x86)
%commonprogramfiles% > C:\Program Files\Common Files
%commonprogramfiles(x86)% > C:\Program Files (x86)\Common Files
%public% > C:\Users\Public
%userprofile% > C:\Users\사용자 계정
| Environment Variables | Values (may vary) |
| %ALLUSERSPROFILE% | C:\ProgramData |
| %APPDATA% | C:\Users\(user-name)\AppData\Roaming |
| %CD% | (command prompt only) Current directory full path |
| %CMDCMDLINE% | (command prompt only) Returns exact command line used to start current cmd.exe session. |
| %CMDEXTVERSION% | (command prompt only) Number of current command processor extensions. |
| %CommonProgramFiles% | C:\Program Files\Common Files |
| %CommonProgramFiles(x86)% | C:\Program Files (x86)\Common Files |
| %CommonProgramW6432% | C:\Program Files\Common Files |
| %COMPUTERNAME% | BRINK-PC |
| %COMSPEC% | C:\Windows\System32\cmd.exe |
| %DATE% | (command prompt only) Current date in format determined by Date command |
| %ERRORLEVEL% | (command prompt only) Number defining exit status of previous command or program |
| %HOMEDRIVE% | C: |
| %HOMEPATH% | C:\Users\(user-name) |
| %LOCALAPPDATA% | C:\Users\(user-name)\AppData\Local |
| %LOGONSERVER% | \\MicrosoftAccount |
| %NUMBER_OF_PROCESSORS% | 8 |
| %OS% | Windows_NT |
| %PATH% | C:\WINDOWS C:\WINDOWS\system32 C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0 |
| %PATHEXT% | COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
| %PROCESSOR_ARCHITECTURE% | AMD64 |
| %PROCESSOR_IDENTIFIER% | Intel64 Family 6 Model 60 Stepping 3, GenuineIntel |
| %PROCESSOR_LEVEL% | 6 |
| %PROCESSOR_REVISION% | 3c03 |
| %ProgramData% | C:\ProgramData |
| %ProgramFiles% | C:\Program Files |
| %ProgramFiles(x86)% | C:\Program Files (x86) |
| %ProgramW6432% | C:\Program Files |
| %PROMPT% | (command prompt only) Code for current command prompt format. Code is usually $P$G |
| %PSModulePath% | C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ |
| %PUBLIC% | C:\Users\Public |
| %RANDOM% | (command prompt only) To get random number between 0 and 32767 |
| %SessionName% | When logging on directly to machine, returns "Console". When client connects via terminal server session, is combination of connection name, followed by pound symbol and session number. |
| %SystemDrive% | C: |
| %SystemRoot% | C:\Windows |
| %TEMP% | C:\Users\(user-name)\AppData\Local\Temp |
| %TIME% | (command prompt only) Current time in format determined by Time command |
| %TMP% | C:\Users\(user-name)\AppData\Local\Temp |
| %USERDOMAIN% | BRINK-PC |
| %USERDOMAIN_ROAMINGPROFILE% | BRINK-PC |
| %USERNAME% | (user-name) |
| %USERPROFILE% | C:\Users\(user-name) |
| %WINDIR% | C:\Windows |
%SystemDrive% = C:\ (drive where is the Windows root directory)
%HOMEDRIVE% = C:\ (name of the local workstation drive, connected to user directory)
%ALLUSERSPROFILE% = C:\Documents and Settings\All Users
%CommonDocuments% = C:\Documents and Settings\All Users\Documents
%CommonDesktop% = C:\Documents and Settings\All Users\Desktop
%PUBLIC% = C:\Documents and Settings\All Users\Desktop
%USERPROFILE% = C:\Documents and Settings\Username (path to current user's profile)
%HOMEPATH% = C:\Documents and Settings\Username (user's home directory)
%LOCALAPPDATA% = C:\Documents and Settings\Username\AppData\Local
%TEMP% = C:\Documents and Settings\Username\AppData\Local\Temp or C:\Windows\TEMP (dependent on login system)
%TMP% = C:\Documents and Settings\Username\AppData\Local\Temp or C:\Windows\TEMP (dependent on login system)
%MyDocs% = C:\Documents and Settings\Username\My documents
%MyDocuments% = C:\Documents and Settings\Username\My documents
%UserDesktop% = C:\Documents and Settings\Username\Desktop
%ProgramData% = C:\ProgramData
%ProgramFiles% = C:\Program Files
%ProgramFiles(x86)% = C:\Program Files (x86)
%ProgramW6432% C:\Program Files
%CommonProgramFiles C:\Program Files\Common Files
%CommonProgramFiles(x86)% = C:\Program Files (x86)\Common Files
%CommonProgramW6432% = C:\Program Files\Common Files
%SystemRoot% = C:\Windows (path to root Windows directory)
%WINDIR% = C:\Windows (directory, in which Windows is installed)
%USERNAME% = Name of current user
%COMPUTERNAME% = Computer name
----------------------------------------------------------------------
상세 정보 | |
%ALLUSERSPROFILE% | 모든 사용자 프로필 파일 위치 |
%APPDATA% | 응용 프로그램 데이터의 기본 저장 위치 |
%CD% | 현재 디렉토리 |
%CLIENTNAME% | 터미널 서비스 세션에 연결할 때 클라이언트의 NETBIOS 이름 |
%CMDCMDLINE% | 현재 cmd.exe에서 사용하는 명령 줄 시작 |
%CMDEXTVERSION% | 현재 명령 처리기 확장 버전 번호 |
%CommonProgramFiles% | 공통 파일의 폴더 경로 |
%COMPUTERNAME% | 컴퓨터 이름 |
%COMSPEC% | 실행 가능한 명령 셸 (명령 처리기) 경로 |
%DATE% | 현재 날짜 |
%ERRORLEVEL% | 최근에 사용 된 명령 오류 코드 |
%HOMEDRIVE% | 사용자의 홈 디렉토리가있는 드라이브 문자 |
%HOMEPATH% | 사용자의 홈 디렉토리에 대한 전체 경로 |
%HOMESHARE% | 사용자는 홈 디렉토리의 네트워크 경로를 공유합니다. |
%LOGONSEVER% | 현재 로그인 세션의 활성 도메인 컨트롤러 이름 |
%NUMBER_OF_PROCESSORS% | 컴퓨터에 설치된 프로세서 |
%OS% | 운영 체제의 이름 ( 윈도우 XP와 |