Administrator’s Guide
289
Using MCScript to Update Your Script Files
WRITECFG
3
Windows:
WRITECFG
<SECTION> <KEY>
<VALUE>
NetWare:
WRITECFG
<FILE> <SECTION> <KEY>
<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
WAITFORREBOOT
0
Waits for a reboot. Just sets internal flag.
KILLWINDOW
1
KILLWINDOW
<WND_CLASS>
[<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
ADDLINE
2
ADDLINE
<FILE_PATH> <LINE_TEXT>
[<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"
REMOVELINE
2
REMOVELINE
<FILE_PATH>
<LINE_TEXT>
Removes all lines matching the given line
from the file.
Command name
Min #
params
Usage, examples, and comments