McAfee MANAGEMENT EDITION 2.5 Administrator's Manual page 283

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

Advertisement

Command name
MKDIR
COPYDIR
MOVEDIR
REMDIR
FILEEXISTS
FILEWRITEACCESS
FILEHASREADACCESS 1
Using MCScript to Update Your Script Files
Min #
Usage, examples, and comments
params
1
MKDIR
<DIR_PATH>
2
COPYDIR [/IFNEW] [/REBOOT]
[/SUB]
/IFNEW, /REBOOT: See COPY command.
/SUB: Copies files in sub-directories.
2
MOVEDIR [/IFNEW] [/REBOOT]
[/SUB]
/IFNEW, /REBOOT: See COPY command.
/SUB: Copies files in sub-directories.
1
REMDIR [/IFNEW] [/REBOOT]
[/SUB]
/IFNEW, /REBOOT: See COPY command.
/SUB: Copies files in sub-directories.
1
FILEEXISTS
Sets the result for this command to
TRUE/FALSE. Use command name in IF
statement to test result.
Example:
FILEEXISTS "!INSTALLDIR!\*.*"
IF FILEEXISTS = FALSE
REMDIR "!INSTALLDIR!"
1
FILEWRITEACCESS /LIST
<FILE_DIR_PATH> [<TIMEOUT>]
Tests for write access on the indicated file or
file list. Sets the function result to
TRUE/FALSE according to whether write
access is obtained.
/LIST: <FILE_DIR_PATH> is a directory and
the files checked are the ones in the
[INCLUDES] section.
<TIMEOUT>: Time in seconds to wait for
write access on each file tested. Default is
60.
FILEHASREADACCESS
Tests for read access to the indicated file.
Sets the function result to TRUE/FALSE.
<SRC> <DST>
<SRC> <DST>
<DIR_PATH>
<FILE_PATH>
<FILE_PATH>
Administrator's Guide
283

Advertisement

Table of Contents
loading

Table of Contents