Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Windows XP System Variables (See related posts)

// Windows XP Default System Variables

%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% 			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

You need to create an account or log in to post comments to this site.


Click here to browse all 5147 code snippets

Related Posts