Private Profile Commands - McAfee MANAGEMENT EDITION 2.5 Administrator's Manual

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

Advertisement

Using MCScript to Update Your Script Files

Private profile commands

W
Command name
WRITEPRIVATE
CLEARPRIVATE
ADDPRIVATE
REMOVEPRIVATE 4
286
Management Edition
NOTE: [..] Indicates optional parameters and switches.
Min #
params
4
3
4
Usage, examples, and comments
WRITEPRIVATE [/NEW]
<SECTION> <KEY> <VALUE>
Writes a profile string using direct file system call
(see ADDPRIVATE).
/NEW: Writes to a new file keeping backup of old
one.
<FILE_NAME> == "": Use WIN.INI.
Example:
WRITEPRIVATE
"!CURDIR!\THDEFS.CFG" Defaults
FindVir
"!INSTALLDIR!\WFINDV32.EXE"
CLEARPRIVATE [/ALL]
<SECTION> <KEY> [<KEY_VALUE>]
Clears a profile entry.
/ALL: All instances of a key in the section are
removed. With this switch, <KEY_VALUE> can be
used to delete only keys with the given value.
<FILE_NAME> == "": Use WIN.INI.
Example:
CLEARPRIVATE /ALL
"!WINDIR!\SYSTEM.INI" 386Enh
device "!INSTALLDIR!\AFILE.386"
<FILE_NAME> <SECTION>
ADDPRIVATE
<KEY> <VALUE>
Writes a profile string using Windows API (see
WRITEPRIVATE).
<FILE_NAME> == "": Use WIN.INI.
<FILE_NAME> <SECTION>
REMOVEPRIVATE
<KEY> <VALUE_STR>
Removes <VALUE_STR> from a list of
space-separated strings in the existing key value.
<FILE_NAME> == "": Use WIN.INI.
<FILE_NAME>
<FILE_NAME>

Advertisement

Table of Contents
loading

Table of Contents