Windows system environment variable large collection

Source: Internet
Author: User
Tags current time

Windows system environment variable large collection

More information

%allusersprofile%

All User profile Locations

%appdata%

Default storage location for application data

%cd%

Current directory

%clientname%

NETBIOS name of client when joining to Terminal Services session

%cmdcmdline%

Start the command line used by the current Cmd.exe

%cmdextversion%

Current command Handler Extended version number

%commonprogramfiles%

Folder path for common Files

%computername%

Computer name

%comspec%

Path to the executable command shell (command handler)

%date%

Current date

%errorlevel%

Error codes for recently used commands

%homedrive%

The drive letter of the user's home directory

%homepath%

Full path to the user's home directory

%homeshare%

Network path for user-shared home directory

%logonsever%

Valid domain name Controller name for the current logon session

%number_of_processors%

Number of processors installed on your computer

%os%

Name of the operating system (Windows XP and Windows 2000 listed WINDOWS_NT)

%Path%

Search path for executable file

%pathext%

The file name extension that the operating system thinks can be executed

%processor_architecture%

Processor's chip architecture

%processor_identfier%

Description of the processor

%processor_level%

Model of the processor for the computer

%processor_revision%

Revision number of the processor

%ProgramFiles%

Path to program Files folder

%prompt%

Command prompt settings for the current command interpreter

%random%

Random decimal number bounded by 0 and 32767

%sessionname%

Connection and session name when connecting to Terminal Services sessions

%systemdrive%

The drive where the Windows startup directory resides

%SYSTEMROOT%

Location of the Windows startup directory

%TEMP% and%TMP%

Default temporary directory for the currently logged-on user available applications

%time%

Current time

%userdomain%

Name of the domain that contains the user account

%USERNAME%

The name of the currently logged-on user

%USERPROFILE%

Current User profile Location

%WINDIR%

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.