Understanding Autorepo Commands - McAfee MANAGEMENT EDITION 2.5 Administrator's Manual

Hide thumbs Also See for MANAGEMENT EDITION 2.5:
Table of Contents

Advertisement

Understanding AutoRepo commands

Here are the commands that can be used in the AutoRepo scriptlet:
Command name
COPY
MOVE
DELETE
MKDIR
RMDIR
RUN
RUNWAIT
ADDINSTALLPATH 1
Understanding AutoRepo macros
Here are the macro variables that can be used in the AutoRepo scriptlet:
Macro name
!TEMPDIR!
!INSTALLPATH!
# of
Usage
params
2
<SRC> <DEST> Copies <SRC> to <DEST> .
COPY
2
<SRC> <DEST> Moves <SRC> to <DEST> .
MOVE
1
DELETE
<DEST>
<DIR>
1
MKDIR
1
<DIR>
RMDIR
Many
RUN
<COMMAND LINE>
Many
RUNWAIT
<COMMAND LINE>
ADDINSTALLPATH
<PATH>
Description
A directory for use as a temporary working area. The console
will create this before running the script and clean it up after all
scripts have run. The macro substitutes the short filename
version.
The directory in which the file containing the script resides.
The macro substitutes the short filename version.
Using MCScript to Update Your Script Files
Description
Deletes <DEST> .
Creates the directory <DIR> .
Deletes the directory <DIR> .
Runs the command line,
does not wait for the process
to terminate.
Runs the command line,
waits for the process to
terminate.
Informs the console that
there is software that should
be added to the repository in
the specified directory. The
software is added after the
script is run.
Administrator's Guide
301

Advertisement

Table of Contents
loading

Table of Contents