Change an integrated Windows server file with UPDATECONFIG entry type

You can use the UPDATECONFIG entry type to change an integrated server file in these ways:

To change an integrated server file, create an NWSD configuration file that contains the UPDATECONFIG entry type as follows:

UPDATECONFIG
 VAR              = '<variable_name>',              (required)
 ADDSTR           = '<line to process>',            (required)
 ADDWHEN          = '<ALWAYS|NEVER|<expression>>',  (optional)
 DELETEWHEN       = '<NEVER|ALWAYS|<expression>>',  (optional)
 LINECOMMENT      = '<"REM "|<comment_string>>',    (optional)
 LINELOCATION     = '<END|BEGIN>',                  (optional)
 LINESEARCHPOS    = '<AFTER|BEFORE>',               (optional)
 LINESEARCHSTR    = '<string within a line>',       (optional)
 FILESEARCHPOS    = '<AFTER|BEFORE>',               (optional)
 FILESEARCHSTR    = '<search string>',              (optional)
 FILESEARCHSTROCC = '<LAST|FIRST>',                 (optional)
 TARGETDIR        = '<BOOT|<path>>',                (optional)
 TARGETFILE       = '<CONFIG.SYS|<file_name>>',     (optional)
 VAROCC           = '<LAST|FIRST>',                 (optional)
 VARVALUE         = '<variable value>               (optional)

For a detailed explanation of the UPDATECONFIG keywords, use the following keyword links. You can also go back to NWSD configuration file format or on to Set configuration defaults with the SETDEFAULTS entry type.