系统环境变量
系统环境变量
dos下set命令显示环境变量
书写方式%Variable%
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Administrator\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=4ABB0077DBAA425
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
LOGONSERVER=\\4ABB0077DBAA425
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 79 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=4f02
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=4ABB0077DBAA425
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
windir=C:\WINDOWS
* ALLUSERSPROFILE: Lists the location of the All Users Profile.
* APPDATA: Lists the location where applications store data by default.
* CD: Lists the current directory string.
* CLIENTNAME: List the client's NETBIOS name when connected to terminal server session.
* CMDCMDLINE: Lists the command line used to start the current cmd.exe.
* CMDEXTVERSION: Lists the version number of the current Command Processor Extensions.
* CommonProgramFiles: Lists the path to the Common Files folder.
* COMPUTERNAME: Lists the name of the computer.
* COMSPEC: Lists the path to the command shell executable.
* DATE: Lists the current date.
* ERRORLEVEL: Lists the error code of the most recently used command.
* HOMEDRIVE: Lists the drive letter is connected to the user's home directory.
* HOMEPATH: Lists the full path of the user's home directory.
* HOMESHARE: Lists the network path to the user's shared home directory.
* LOGONSEVER: Lists the name of the domain controller that validated the current logon session.
* NUMBER_OF_PROCESSORS: Lists the number of processors installed on the computer.
* OS: Lists the name of the operating system. (Windows XP and Windows 2000 list the operating system as Windows_NT.)
* Path: Lists the search path for executable files.
* PATHEXT: Lists the file extensions that the operating system considers to be executable.
* PROCESSOR_ARCHITECTURE: Lists the processor's chip architecture.
* PROCESSOR_IDENTFIER: Lists the description of the processor.
* PROCESSOR_LEVEL: Lists the model number of the computer's processor.
* PROCESSOR_REVISION: Lists the revision number of the processor.
* ProgramFiles: Lists the path to the Program Files folder.
*


