INCLUDE--Examples
The following 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\himem.sys
[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.
|