لیست تعدادی از متغیر های Environment Variables
1. در ویندوز XP
کد HTML:
Few environment variables in Windows XP
================================================================================
Environment Path
================================================================================
%profiledir% C:\Documents and Settings\
--------------------------------------------------------------------------------
%ALLUSERSPROFILE% C:\Documents and Settings\All Users
--------------------------------------------------------------------------------
%DifaultUserProfile% C:\Documents and Settings\Default User
--------------------------------------------------------------------------------
%USERPROFILE% C:\Documents and Settings\{username}
--------------------------------------------------------------------------------
%APPDATA% C:\Documents and Settings\{username}\Application Data
--------------------------------------------------------------------------------
%HOMEPATH% \Documents and Settings\{username}
--------------------------------------------------------------------------------
%ProgramFiles% C:\Program Files
--------------------------------------------------------------------------------
%CommonProgramFiles% C:\Program Files\Common Files
--------------------------------------------------------------------------------
%HOMEDRIVE% Root Drive ,C:\
--------------------------------------------------------------------------------
%SYSTEMDRIVE% Moves to the Root drive , C:
--------------------------------------------------------------------------------
%SYSTEMROOT% C:\WINDOWS
--------------------------------------------------------------------------------
%WINDIR% C:\WINDOWS
--------------------------------------------------------------------------------
%TEMP% and %TMP% C:\DOCUME~1\{USER}\LOCALS~1\Temp
--------------------------------------------------------------------------------
%CD% Current working directory
--------------------------------------------------------------------------------
%CMDCMDLINE% Displays Windows Version
--------------------------------------------------------------------------------
%CMDEXTVERSION% Command prompt version
--------------------------------------------------------------------------------
%COMPUTERNAME% Equivalent to hostname command
--------------------------------------------------------------------------------
%COMSPEC% C:\Windows\System32\cmd.exe
--------------------------------------------------------------------------------
%DATE% Display current date
--------------------------------------------------------------------------------
%ERRORLEVEL% Exit code for the previously executed command
--------------------------------------------------------------------------------
%NUMBER_OF_PROCESSORS% Displays number of processors
--------------------------------------------------------------------------------
%OS% Displays the name of the OS installed
--------------------------------------------------------------------------------
%PATH% Points to C:\WINDOWS\system32
--------------------------------------------------------------------------------
%PATHEXT% .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF;.WSH
--------------------------------------------------------------------------------
%PROCESSOR_ARCHITECTURE% Displays the processor architecture
--------------------------------------------------------------------------------
%PROCESSOR_LEVEL% Displays the processor level
--------------------------------------------------------------------------------
%PROCESSOR_REVISION% Displays the processor revision
--------------------------------------------------------------------------------
%PROMPT% Displays the current prompt
--------------------------------------------------------------------------------
%RANDOM% Generates a random integer between 0 and 32767
--------------------------------------------------------------------------------
%TIME% Displays current time
--------------------------------------------------------------------------------
%USERDOMAIN% Displays the hostname
--------------------------------------------------------------------------------
%USERNAME% Displays the currently logged in user name
================================================================================
2. در ویندوز 7
کد HTML:
Windows 7 Environment Variables List
=============================================================================
Environment Variable Path
=============================================================================
%ALLUSERSPROFILE% C:\ProgramData
-----------------------------------------------------------------------------
%APPDATA% C:\Users\{username}\AppData\Roaming
-----------------------------------------------------------------------------
%COMMONPROGRAMFILES% C:\Program Files\Common Files
-----------------------------------------------------------------------------
%COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files
-----------------------------------------------------------------------------
%COMSPEC% C:\Windows\System32\cmd.exe
-----------------------------------------------------------------------------
%HOMEDRIVE% C:
-----------------------------------------------------------------------------
%HOMEPATH% C:\Users\{username}
-----------------------------------------------------------------------------
%LOCALAPPDATA% C:\Users\{username}\AppData\Local
-----------------------------------------------------------------------------
%PROFILESDIRECTORY% C:\Users
-----------------------------------------------------------------------------
%PROGRAMDATA% C:\ProgramData
-----------------------------------------------------------------------------
%PROGRAMFILES% C:\Program Files
-----------------------------------------------------------------------------
%PROGRAMFILES(X86)% C:\Program Files (x86) (only in 64-bit version)
-----------------------------------------------------------------------------
%PUBLIC% C:\Users\Public
-----------------------------------------------------------------------------
%SystemDrive% C:
-----------------------------------------------------------------------------
%SystemRoot% C:\Windows , %WINDIR%
-----------------------------------------------------------------------------
%TEMP% and %TMP% C:\Users\{username}\AppData\Local\Temp
-----------------------------------------------------------------------------
%USERPROFILE% C:\Users\{username}
-----------------------------------------------------------------------------
%WINDIR% C:\Windows , (%SYSTEMDRIVE%\Windows)
=============================================================================
علاقه مندی ها (بوک مارک ها)