Includes the contents of one configuration block within another. You can use this command only in your CONFIG.SYS file.
The INCLUDE command is one of six special CONFIG.SYS commands used for defining multiple configurations within a single CONFIG.SYS file. With multiple configurations, you define a menu that appears when your computer starts. Each menu item corresponds to a block of commands, or "configuration block," in your CONFIG.SYS file. For more information about multiple configurations and configuration blocks, see the chapter "Configuring Your System" in the MS-DOS User's Guide.
The INCLUDE command is one of six special CONFIG.SYS commands for defining multiple configurations. The other commands are for defining the startup menu:
This CONFIG.SYS file defines three configurations:
[menu] MENUITEM=base_config, Base configuration only MENUITEM=full_config, Normal configuration MENUITEM=net_config, Normal configuration with network [base_config] DOS=HIGH DEVICE=C:\DOS\HIMEMSYS [full_config] include=base_config DOS=UMB DEVICE=C:\DOS\EMM386.EXE RAM DEVICEHIGH=c:\dos\ramdrive.sys 512 [net_config] include=full_config DEVICEHIGH=c:\net\network.sys [common]
This CONFIG.SYS file contains four configuration blocks. The [base_config] block contains two typical CONFIG.SYS commands. The [full_config] block includes the commands in [base_config] plus the DOS=UMB command, a DEVICE command, and a DEVICEHIGH command. The third configuration, [net_config], includes all the commands in [full_config], which in turn includes those in [base_config]. The [common] block appears at the end of the CONFIG.SYS file. It is a good idea to end your CONFIG.SYS file with a [common] block so that installation programs can successfully append commands to your CONFIG.SYS file.