Impressum
Client-Installer

5.4. Windows Umgebungsvariablen

ALLUSERSPROFILEReturns the location of the All Users Profile
APPDATAReturns the location where applications store data by default
CDReturns the current directory string
CMDCMDLINEReturns the exact command line used to start the current cmd.exe
CMDEXTVERSIONReturns the version number of the current Command Processor Extensions
COMMONPROGRAMFILESReturns the path to the Common Files directory
COMMONPROGRAMFILES(x86)Returns the path to the Common Files (x86) directory on 64-bit systems
COMPUTERNAMEReturns the name of the computer
COMSPECReturns the exact path to the command shell executable
DATEReturns the current date. This variable uses the same format as the date /t command
ERRORLEVELReturns the error code of the most recently used command. A non-0 value usually indicates an error
HOMEDRIVEReturns which local workstation drive letter is connected to the user's home directory
HOMEPATHReturns the path of the user's home directory without the drive letter
LOGONSEVERReturns the name of the domain controller that validated the current logon session
NUMBER_OF_PROCESSORSReturns the number of processors installed on the computer
OSReturns the OS name. Windows 2000, XP and Vista return Windows_NT
PATHReturns the search path for executable files
PATHEXTReturns a list of the file extensions that the OS considers to be executable
PROCESSOR_ARCHITECTUREReturns the processor's chip architecture. Values: x86, IA64
PROGRAMFILESReturns the path to the Program Files directory
PROGRAMFILES(x86)Returns the path to the Program Files (x86) directory on 64-bit systems
PROMPTReturns the command-prompt settings for the current interpreter
RANDOMReturns a random decimal number between 0 and 32767
SYSTEMDRIVEReturns the drive containing the Windows root directory (i.e. C:)
SYSTEMROOTReturns the location of the Windows root directory (i.e. C:\Windows)
TEMP or TMPReturns the default temporary directories for applications that are available to users who are currently logged on
TIMEReturns the current time. This variable uses the same format as the time /t command
USERDOMAINReturns the name of the domain that contains the user's account
USERNAMELocal returns the name of the user currently logged on
USERPROFILELocal returns the location of the profile for the current user
WINDIRSystem returns the location of the OS directory