General discussion

Locked

My IT blog

By Valeri Makarov ·
Tags: Off Topic
blog root

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Windows XP's environment variables

by Valeri Makarov In reply to My IT blog

<h1>Understanding Windows XP's environment variables</h1>Windows XP's environment variables control the behavior of batch files
and programs, and also control the way Windows XP and the MS-DOS
subsystem appears and works. Check out this list of environment
variables, along with their descriptions.





<img src="http://ads.com.com/Ads/common/advertisement.gif" alt="advertisement" /><ol><ul><li><strong>ALLUSERSPROFILE:</strong> Lists the
location of the All Users Profile.</li><li><strong>APPDATA:</strong> Lists the location where
applications store data by default.</li><li><strong>C</strong> Lists the current directory
string.</li><li><strong>CLIENTNAME:</strong> List the client's
NETBIOS name when connected to terminal server session.</li><li><strong>CMDCMDLINE:</strong> Lists the command
line used to start the current cmd.exe.</li><li><strong>CMDEXTVERSION:</strong> Lists the version
number of the current Command Processor Extensions.</li><li><strong>CommonProgramFiles</strong><strong>:</strong> Lists the path to the Common
Files folder.</li><li><strong>COMPUTERNAME:</strong> Lists the name of
the computer.</li><li><strong>COMSPEC:</strong> Lists the path to the
command shell executable.</li><li><strong>DATE:</strong> Lists the current date.</li><li><strong>ERRORLEVEL:</strong> Lists the error code
of the most recently used command.</li><li><strong>HOMEDRIVE:</strong> Lists the drive letter
is connected to the user's home directory.</li><li><strong>HOMEPATH:</strong> Lists the full path of
the user's home directory.</li><li><strong>HOMESHARE:</strong> Lists the network path
to the user's shared home directory.</li><li><strong>LOGONSEVER:</strong> Lists the name of the
domain controller that validated the current logon session.</li><li><strong>NUMBER_OF_PROCESSORS:</strong> Lists the
number of processors installed on the computer.</li><li><strong>OS:</strong> Lists the name of the
operating system. (Windows XP and Windows 2000 list the operating system as
Windows_NT.)</li><li><strong>Path:</strong> Lists the search path for
executable files.</li><li><strong>PATHEXT:</strong> Lists the file
extensions that the operating system considers to be executable.</li><li><strong>PROCESSOR_ARCHITECTURE:</strong> Lists the
processor's chip architecture.</li><li><strong>PROCESSOR_IDENTFIER:</strong> Lists the
description of the processor.</li><li><strong>PROCESSOR_LEVEL:</strong> Lists the model
number of the computer's processor.</li><li><strong>PROCESSOR_REVISION:</strong> Lists the
revision number of the processor.</li><li><strong>ProgramFiles</strong><strong>:</strong> Lists the path to the Program
Files folder.</li><li><strong>PROMPT:</strong> Lists the command-prompt
settings for the current interpreter.</li><li><strong>RANDOM:</strong> Lists a random decimal
number between 0 and 32767.</li><li><strong>SESSIONNAME:</strong> Lists the connection
and session names when connected to terminal server session.</li><li><strong>SYSTEMDRIVE:</strong> Lists the drive
containing the Windows root directory.</li><li><strong>SYSTEMROOT:</strong> Lists the location of
the Windows root directory.</li><li><strong>TEMP and TMP:</strong> List default
temporary directories for applications that are
available to users who are currently logged on.</li><li><strong>TIME:</strong> Lists the current time.</li><li><strong>USERDOMAIN:</strong> Lists the name of the
domain that contains the user's account.</li><li><strong>USERNAME:</strong> Lists the name of the
user currently logged on.</li><li><strong>USERPROFILE:</strong> Lists the location
of the profile for the current user.</li><li><strong>WINDIR:</strong> Lists the location of the
OS directory.</li></ul></ol>

Back to After Hours Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums