INCLUDE

The description below is from the book
DOS the Easy Way by Everett Murdock Ph.D.

CLICK HERE for information about downloading the book.

Type: Internal (6.0 and later)

Syntax:

INCLUDE= blockname

Purpose: Used in the CONFIG.SYS file to allow you to use the commands from one CONFIG.SYS block within another.

Discussion

The INCLUDE command is very useful if you find you are repeating the same commands within your CONFIG.SYS file. You can put a group of configuration commands in one configuration block within the CONFIG.SYS file and then refer back to that configuration block from other configuration blocks by using the INCLUDE=blockname command. A configuration block begins with a name, enclosed in square brackets, followed by a list of configuration commands to be associated with that block name.

For more information about the INCLUDE command, see Chapter 6, Tips for Advanced Users, in the downloadable book DOS the Easy Way.

Option

blockname - Specifies the name of the configuration block to be included in the active configuration block. The INCLUDE command can only be used within a configuration block in your CONFIG.SYS file.

Example

To add one block of configuration commands (NORMAL) within another (SPECIAL), use the INCLUDE command to name the second block as in the following example:

[special]
buffers=20
lastdrive=h
include=normal

[normal]
stacks=9,256
device=ansi.sys
switches=/n





Back to the Easy DOS Command Index