Special Windows Macros

A special Windows* macro is one that defines Windows 95/98, and Windows NT*/2000 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 (Distribution Options > Application Files page).

IMPORTANT: The asterisk character (*) is a required syntax for these macros. Don't confuse these asterisk characters with the third-party trademark asterisk used as a documentation convention. In addition, when using the macro in one of the Application object's property fields, you must enclose it in % characters (for example, %*WinDisk%).

Macro Description
%*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 LauncherTM 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\user name\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\user name\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\user name\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\user name\HISTORY.
%*NetHood% File system directory containing objects that appear in the network neighborhood. Typically C:\WINDOWS\NETHOOD or C:\WINNT\PROFILES\user name\NETHOOD.
%*Personal% File system directory that serves as a common repository for documents. Typically C:\MYFILES or C:\WINNT\PROFILES\user name\PERSONAL.
%*PrintHood% File system directory that serves as a common repository for printer links. Typically C:\WINNT\PROFILES\user name\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\user name\START MENU\PROGRAMS.
%*Recent% File system directory that contains the user's most recently used documents. Typically C:\WINDOWS\RECENT or C:\WINNT\PROFILES\user name\RECENT.
%*SendTo% File system directory that contains Send To menu items. Typically C:\WINDOWS\SENTO or C:\WINNT\PROFILES\user name\SENDTO.
%*StartMenu% File system directory containing Start menu items. Typically C:\WINDOWS\START MENU or C:\WINNT\PROFILES\user name\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\user name\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\user name\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:

Special Windows 2000 Macros
The following marcros are available on Windows 2000 only.

IMPORTANT: The asterisk character (*) is a required syntax for macros (where noted). Don't confuse these asterisk characters with the third-party trademark asterisk used as a documentation convention. In addition, when using the macro in one of the Application object's property fields, you must enclose it in % characters (for example,%*WinDisk%).

Macro Description
%*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\user name\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\user name\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\user name.

ZENworks for Desktops Online Documentation

A trademark symbol (®, TM, etc.) denotes a Novell trademark. An asterisk denotes a third-party trademark. For information on trademarks, see Legal Notices.