A special Windows macro is one that defines Windows 95/98 and Windows NT*/2000/XP directories. The typical paths listed below are based on default installations and may or may not match your specific setup. On Windows 95/98 workstations, macros behave differently if User Profiles are enabled.
Suppose that you have installed Windows to drive D: (for example, D:\WINDOWS). However, an application installation expects Windows to be on drive C: (for example, C:\WINDOWS). Using the *WinDisk macro, you can substitute drive C: with the macro for the files that require it.
The following two sections describe the special Windows macros you can use.
The following macros apply to Windows 95/98 and Windows NT/2000/XP unless otherwise noted.
%*AppData % |
File system directory that serves as a common repository for application specific data. Typically C:\WINNT\PROFILES\user name\APPLICATION DATA. Used only by Windows NT version 4. |
%*CommonDesktop% |
File system directory that contains files and folders that appear on the desktop for all users. Typically C:\WINNT\PROFILES\ALL USERS\DESKTOP. If not available, the *DESKTOP value will be used. |
%*CommonPrograms% |
File system directory that contains the directories for the common program groups that appear on the Start menu for all users. Typically C:\WINNT\PROFILES\ALL USERS\START MENU\PROGRAMS. If not available, the *PROGRAMS value will be used. |
%*CommonStartMenu% |
File system directory that contains the programs and folders that appear on the Start menu for all users. Typically C:\WINNT\PROFILES\ALL USERS\START MENU. If not available, the *STARTMENU value will be used. |
%*CommonStartup% |
File system directory that contains the programs that appear in the Startup folder for all users. The system starts these programs whenever any user logs on to Windows NT or starts Windows 95/98. Typically this directory is C:\WINNT\PROFILES\ALL USERS\START MENU\PROGRAMS\STARTUP. If not available, the *STARTUP value will be used. |
%*CommonWinDesktop% |
Windows NT common desktop directory (C:\WINNT\PROFILES\ALL USERS\DESKTOP). This is a Novell Application Launcher 2.0 macro that is allowed for backward compatibility. |
%*Cookies% |
Files system directory that contains the user's cookies. Typically C:\WINDOWS\COOKIES or C:\WINNT\PROFILES\username\COOKIES. |
%*Desktop% |
File system directory used to physically store file objects on the desktop (not to be confused with the desktop folder itself). Typically this directory is C:\WINDOWS\DESKTOP or C:\WINNT\PROFILES\username\DESKTOP. |
%*Favorites% |
File system directory that serves as a common repository for the user's favorite items. Typically this directory is C:\WINDOWS\FAVORITES or C:\WINNT\PROFILES\username\FAVORITES. |
%*Fonts% |
Virtual folder containing fonts. Typically C:\WINDOWS\FONTS or C:\WINNT\FONTS. |
%*History% |
File system directory that contains the user's history of visited Internet addresses. Typically C:\WINDOWS\HISTORY or C:\WINNT\PROFILES\username\HISTORY. |
%*NetHood% |
File system directory containing objects that appear in the network neighborhood. Typically C:\WINDOWS\NETHOOD or C:\WINNT\PROFILES\username\NETHOOD. |
%*Personal% |
File system directory that serves as a common repository for documents. Typically C:\MYFILES or C:\WINNT\PROFILES\username\PERSONAL. |
%*PrintHood% |
File system directory that serves as a common repository for printer links. Typically C:\WINNT\PROFILES\username\PRINTHOOD. Only used by Windows NT. |
%*Programs% |
File system directory that contains the user's program groups (which are also file system directories). Typically C:\WINDOWS\START MENU\PROGRAMS or C:\WINNT\PROFILES\username\START MENU\PROGRAMS. |
%*Recent% |
File system directory that contains the user's most recently used documents. Typically C:\WINDOWS\RECENT or C:\WINNT\PROFILES\username\RECENT. |
%*SendTo% |
File system directory that contains Send To menu items. Typically C:\WINDOWS\SENTO or C:\WINNT\PROFILES\username\SENDTO. |
%*StartMenu% |
File system directory containing Start menu items. Typically C:\WINDOWS\START MENU or C:\WINNT\PROFILES\username\START MENU. |
%*Startup% |
File system directory that corresponds to the user's Startup program group. Typically C:\WINDOWS\START MENU\PROGRAMS\STARTUP or C:\WINNT\PROFILES\username\START MENU\PROGRAMS\STARTUP. |
%*TempDir% |
Windows temporary directory (C:\WINDOWS\TEMP). |
%*Templates% |
File system directory that serves as a common repository for document templates. Typically C:\WINDOWS\SHELLNEW or C:\WINNT\SHELLNEW. |
%*WinDesktop% |
Windows desktop directory (C:\WINDOWS\DESKTOP or C:\WINNT\PROFILES\username\DESKTOP for Windows NT). This is an Application Launcher 2.0 macro that is allowed for backward compatibility. |
%*WinDir% |
Windows directory. Typically C:\WINDOWS or C:\WINNT. |
%*WinDisk% |
Drive letter (plus colon) for the Windows directory. Typically C:. |
%*WinSysDir% |
Windows system directory. Typically C:\WINDOWS\SYSTEM or C:\WINNT\SYSTEM32. |
%*WinSysDisk% |
Drive letter (plus colon) for the Windows system directory. Typically C:. |
The following macros apply to Windows 2000 only.
%*AdminTools% |
File system directory that contains the administrative tools that appear in the Control Panel when a specific user logs in to Windows 2000. Typically C:\DOCUMENTS AND SETTINGS\username\START MENU\PROGRAMS\ADMINISTRATIVE TOOLS. |
%*CommonAdminTools% |
File system directory that contains the administrative tools that appear in the Control Panel for all users who log in to Windows 2000. Typically C:\DOCUMENTS AND SETTINGS\ALL USERS\START MENU\PROGRAMS\ADMINISTRATIVE TOOLS. |
%*CommonAppData% |
File system directory that contains the application-specific data for all users who log in to Windows 2000. Typically C:\DOCUMENTS AND SETTINGS\ALL USERS\APPLICATION DATA. |
%*CommonDocuments% |
File system directory that contains the documents shared by all users who log in to Windows 2000. Typically C:\DOCUMENTS AND SETTINGS\ALL USERS\DOCUMENTS. |
%*CommonTemplates% |
File system directory that contains the document templates shared by all users who log in to Windows 2000. Typically C:\DOCUMENTS AND SETTINGS\ALL USERS\TEMPLATES. |
%*MyPictures% |
File system directory that contains a specific user's graphic files. Typically C:\DOCUMENTS AND SETTINGS\username\MY DOCUMENTS\MY PICTURES. |
%*ProgramFiles% |
File system directory that contains the program files. Typically C:\PROGRAM FILES. |
%*ProgramFilesCommon% |
File system directory that contains the program files shared by multiple applications. Typically C:\PROGRAM FILES\COMMON. |
%*UserProfile% |
File system directory that contains the logged-in user's profile. Typically C:\DOCUMENTS AND SETTINGS\username. |