Running a macro
Use the MACRO command when you want to run a macro. You can enter the MACRO command in batch or interactive mode.
About this task
If the macro does not contain substitution variables, run the macro by entering the
MACRO command with the name of the macro file. For example:
macro reg.mac
If the macro contains substitution variables, include the values that you want to supply after
the name of the macro. Each value is delimited by a space. For example:
macro auth.mac pease mypasswd "david pease, x1234" domain1
If you enter fewer values than there are substitution variables in the macro, the administrative client replaces the remaining variables with null strings.
If you want to omit one or more values between values, enter a null string
("") for each omitted value. For example, if you omit the contact
information in the previous example, you must enter:
macro auth.mac pease mypasswd "" domain1