Administrator’s Guide
299
Using MCScript to Update Your Script Files
Understanding Management Edition macros
The following tables list directory, file transfer, and miscellaneous macro
variables that will automatically be expanded to their actual values while an
install/update/uninstall is in progress.
Directory macros
File transfer macros
Macro name
Description
!SYSDIR!
The Windows system directory (e.g.,
\WINNT\SYSTEM32).
!WINDIR!
The Windows directory (e.g., \WINNT).
!C:!
The root drive on which Windows is installed.
!CURDIR!
The directory where the Management Agent is installed on
this machine.
Macro name
Description
!INSTALLPATH!
Directory/UNC path containing the software install set.
This could be a directory on a local machine or a UNC
path to the software repository.
!INSTALLDIR!
Target directory for software installation.
!INSTALL!
Use this pseudo-command to get your files from
!INSTALLPATH! to !INSTALLDIR!.
This translates to either a file copy or a file move,
depending on the install method chosen at the
Management Console.