McAfee MANAGEMENT EDITION 2.5 Administrator's Manual page 289

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

Advertisement

Command name
WRITECFG
WAITFORREBOOT
KILLWINDOW
ADDLINE
REMOVELINE
Using MCScript to Update Your Script Files
Min #
Usage, examples, and comments
params
3
Windows:
WRITECFG
<VALUE>
NetWare:
WRITECFG
<VALUE>
Writes a value to MEUP.CFG on Windows
or a defined config file on NetWare.
NetWare example:
WRITECFG
SYS:SYSTEM\NTME\THDEFS.CFG
Defaults Scanner
!INSTALLDIR!\AFILE.NLM
0
Waits for a reboot. Just sets internal flag.
1
KILLWINDOW
[<WND_NAME>]
Kills windows with a given class and
optional name. This can kill more than one
window if only the class is specified.
Example:
KILLWINDOW bordlg_nai
2
ADDLINE
[<LINE_NUM>]
Inserts a line of text into the given file at a
zero-based line number. <LINE_NUM>
defaults to 0.
Example:
ADDLINE C:\AUTOEXEC.BAT
"!INSTALLDIR!\AFILE.COM"
2
REMOVELINE
<LINE_TEXT>
Removes all lines matching the given line
from the file.
<SECTION> <KEY>
<FILE> <SECTION> <KEY>
<WND_CLASS>
<FILE_PATH> <LINE_TEXT>
<FILE_PATH>
Administrator's Guide
289

Advertisement

Table of Contents
loading

Table of Contents