Batch Processing variable in Window System

Source: Internet
Author: User


% ALLUSERSPROFILE % returns the location of the "All users" configuration file locally. % APPDATA % local return the location where the application stores data by default. % CD % returns the current directory string locally. % CMDCMDLINE % local return the exact command line used to start the current Cmd.exe. % CMDEXTVERSION % The system returns the version number of the current "command handler extension. Www.2cto.com % COMPUTERNAME % the name of the computer returned by the system. % COMSPEC % The system returns the exact path of the executable program of the command line interpreter. % DATE % The system returns the current DATE. % ERRORLEVEL % The system returns the error code of the previous command. A non-zero value is usually used to indicate an error. % HOMEDRIVE % = partition of the currently started System (generally C: \) % HOMEPATH % = current user environment variable (generally C: \ Documents ents and Settings \ User Name) % HOMESHARE % The system returns the network path of the user's shared home directory. Set Based on the main directory value. The user home directory is specified in "local users and groups. % LOGONSERVER % local return the name of the domain controller that verifies the current logon session. % NUMBER_OF_PROCESSORS % Number of processors installed on the computer. % OS % The system returns the operating system name. Windows 2000 displays Windows _ NT as its operating system. % PATH % The system specifies the search PATH of the executable file. % PATHEXT % The system returns a list of file extensions that the operating system deems executable. % PROCESSOR_ARCHITECTURE % The system returns the processor's chip architecture. Value: x86 or IA64 is based on Itanium % PROCESSOR_IDENTFIER %. The system returns the processor description. % PROCESSOR_LEVEL % The system returns the model of the processor installed on the computer. % PROCESSOR_REVISION % The system returns the processor version number. Www.2cto.com % programfiles % = Program installation directory (generally C: \ Program Files) % PROMPT % returns the command PROMPT settings of the current interpreter locally. Generated by Cmd.exe. % Commonprogramfiles % = general file directory (generally C: \ Program Files \ Common Files) % RANDOM % The system returns any decimal number between 0 and 32767. Generated by Cmd.exe. % System % = system32 directory under the System installation disk (generally C: \ WINDOWS \ SYSTEM32) % system % indicates windows \ system UNDER 98, and winnt \ system32 under 2000 \, windows \ system32 folder % systemdrive % = partition of the currently started system under XP (generally C :\) % SystemRoot % = directory of the currently started System (generally C: \ WINDOWS) % TEMP % and % TMP % the system and the user return the default temporary directory used by the applications available to the current login user. Some applications require TEMP, while other applications require TMP. Www.2cto.com % TIME % The system returns the current TIME. % USERDOMAIN % local return the name of the domain containing the user account. % USERNAME % returns the name of the user currently logged on. % USERPROFILE % = current user data variable (generally C: \ Documents and Settings \ User Name) % windir % = % SystemRoot % = directory of the currently started System (generally C: \ WINDOWS) by yuelangyc

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.