McAfee MANAGEMENT EDITION 2.5 Administrator's Manual page 290

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

Advertisement

Using MCScript to Update Your Script Files
Command name
EQUALSTRING
CREATEPROCESS
CREATEPROCESS_EX
SYSTEM
290
Management Edition
Min #
Usage, examples, and comments
params
2
EQUALSTRING
Case-sensitive comparison of the strings.
Sets the function result to TRUE/FALSE.
Example:
EQUALSTRING !CUR_GINA!
"AFILE.DLL"
IF EQUALSTRING
REGSETVAL LOCAL !NEWGINA!
GinaDLL SZ !OLDGINAVAR!
2
CREATEPROCESS
<WORK_DIR> ['WAIT' ] ['HIDE']
Creates a new process using the given
command line and working directory.
WAIT: Waits for process to terminate
before resuming script.
HIDE: Runs hidden.
Example:
CREATEPROCESS
"!INSTALLDIR!\AFILE.EXE"
"!INSTALLDIR!"
2
CREATEPROCESS_EX
<EXECUTABLE>
<WORKING_DIRECTORY> [<PARAM_1>
<PARAM_2> ... <PARAM_N>]
['WAIT_ON_PROCESS']
['HIDE_PROCESS']
Starts the program specified in
<EXECUTABLE>. Sets the program's start
directory to <WORKING_DIRECTORY>.
<PARAM_N> passes a variable length list
of parameters to program being started.
[WAIT_ON_PROCESS] causes the
Update Agent to pause until newly started
process has terminated.
[HIDE_PROCESS] causes the application
to start with a hidden window (if the
application supports this).
1
SYSTEM
Executes a command using the OS shell.
<STR1> <STR2>
<COMMAND>
<COMMAND_LINE>

Advertisement

Table of Contents
loading

Table of Contents