Environment Variables are stored in a small area of memory available to all programs running within or on top of the DOS environment (including Windows). They are called “variables” because they can be changed. In fact, some variables need to be reestablished after every reboot.
Variable names are NOT case sensitive.
Variable | Sample Typical Value |
%SystemDrive% | C: |
%SystemRoot% | C:\WINNT C:\WINDOWS |
%SystemDirectory% | C:\WINNT\System32 C:\WINDOWS\System32 |
%WinDir% | C:\WINNT C:\WINDOWS |
____ | C:\WINNT\Program Files |
%ComSpec% | C:\WINNT\system32\cmd.exe |
%Temp% %Tmp% | C:\DOCUME~1\Usr\LOCALS~1\Temp from C:\Documents and Settings\Usr\Local Settings\Temp |
%HOMEDRIVE% | C: The drive letter associated with the user's home directory |
%HOMEPATH% | The path to the user's home directory (excluding drive): \Documents and Settings\Guest |
%OS% | Windows_NT The operating system the user is running |
%USERDOMAIN% | The name of the domain that contains the user's account |
%USERNAME% | The user's name |
These Environment Variables are automatically created by Windows upon boot-up.
Dont think the list is only few. Still have alot. Look at this website for more variables. http://www.wilsonmar.com/1envvars.htm
0 comments:
Post a Comment