ROM-DOS Internal Commands 4-41
INCLUDE
CONFIG.SYS Command
The INCLUDE command includes the contents of one configuration block
into another. The instructions from the originating instruction block, as
well as the included block, are carried out. This command can only be
used within a CONFIG.SYS configuration block.
Syntax
INCLUDE = blockname
Remarks
This command is useful for sets of instructions common to several system
configurations. The commands are defined once in a single configuration
block and then inserted into other configuration blocks via the INSERT
command.
Example
:
:
[MISC]
device=mouse.sys
device=c:\netword\loadnet.sys
[WORDPROC]
files=20
buffers=10
set path=c:\bin;c:\wp;c:\dict
INCLUDE=MISC
.
.
.
When you choose WORDPROC from a CONFIG.SYS menu, the
instructions in the configuration block labeled [WORDPROC] are carried
out. The instructions in the INCLUDED block labeled [MISC] are also
implemented as part of the [WORDPROC] block of instructions.