Contents of the CONFIG.DOC file
September 12, 1989 (Utilities)
Purpose:A full-screen editor for inspecting and modifying the
directives contained in an OS/2 CONFIG.SYS file.
Remarks:The optional pathname parameter may be specified if the OS/2
CONFIG.SYS file is located other than in the root directory of the boot drive.
CONFIG.EXE will exit if the file is not found or if its read-only attribute is
Entry into and exit from CONFIG.EXE are always made from its browse
mode. When exiting, pressing Esc discards any changes made during the session;
pressing X (eXit) saves a modified CONFIG.SYS file and renames the previous
CONFIG.SYS with a .BAK extension. Confirming prompts are used with all crucial
In browse mode, the entire line is highlighted in reverse video, and
movement through the CONFIG.SYS file is made with the Uparrow, DownArrow, PgUp,
PgDn, Home, and End keys. Pressing D will delete an entire line and pressing R
will restore it in this mode.
Edit mode is entered by pressing either A (Add line at end of file), C
(Change current line), or I (Insert line before current line). In edit mode,
either the name field or the value field is highlighted and available for
modification. In the directive PRIORITY=DYNAMIC, for example, PRIORITY is the
name and DYNAMIC is the value. The Tab and Shift-Tab keys toggle between the
When editing the name field, the UpArrow and DownArrow keys cycle
through an alphabetical listing of all valid directives. No other entries can
be made in this field. In the value field, however, CONFIG.EXE becomes a normal
editor, with insert and overstrike modes toggled by the Ins key. Character
deletions are made with the Del key, and Ctrl-End deletes to the end of the
line. The Backspace key deletes the character under the cursor in insert mode
and replaces it with a blank in overstrike mode. Cursor motion within a line is
made with the Left and Right Arrow keys, Home, and End. Press Enter to accept,
or Escape to discard changes made to a line and return to browse mode.
Note: CONFIG.EXE and CONFIG.C, its source code file (written in
Microsoft C, Version 5.1), may be downloaded from PC MagNet. The CONFIG.C
source file printed with the article is a shortened form that omits on-line help
and syntax checking for each directive.