Variable
|
Directory path that is assigned
|
Description
|
$MYDOCUMENTS$
|
Current user's My Documents folder
|
C:\Documents and Settings\ <user
profile>\ My Documents
|
$PROGFILESDIR$
|
Windows Program Files directory
|
Usually C:\Program Files
|
$USERHIVE$
|
Registry path of current user's hive
|
HKEY_CURRENT_USER
|
$USERPROFILE$
|
Current user's profile directory
|
C:\Documents and Settings\ <logged on
user>
This is valid in Windows NT/2000/XP
only
|
$WINDIR$
|
Directory containing Windows
|
C:\WINNT for Windows 2000
|
$WINSYSDIR$
|
Windows System directory
|
C:\WINNT\SYSTEM32 for Windows 2000
|
$WINTEMPDIR$
|
Windows Temp directory
|
C:\Documents and Settings\ <logged on
user>\ Local Settings\ Temp
|
$MACHINENAME$
|
Name of the computer
|
This is restored to the path
C:\Documents and Settings\ <user
profile>\ $MyDocuments$\ $MachineName$
|
$USERS$
|
User's name
|
|
$WINDRIVE$
|
Drive containing Windows
|
C
This is just the drive letter, and does not
include the colon
|