### 6. Include Command
The Include command is applicable in the configuration section. When the configuration section needs to use the same settings as other configurations, this command can be used to include the contents of other configuration sections (Include) to avoid repeated writing. The format is as follows:
Include=BlockName
- **BlockName**: It is not limited to before or after, as long as it is within the file.
Now here is a relatively complete example:
Menuitem=Old_Proc,Old version Operation
Menuitem=Reg_Proc,Regular Operation
Menuitem=Dbase_Proc,Data Base Operation
device=c:\dos\himen.sys
device=c:\dos\emm386.exe noems(?)
dos=high,umb(?)
shell=c:\dos\command.com c:\dos /p(?)
device=c:\dos\setver.exe
include=Reg_Proc
buffers=30
files=30
device=c:\dos\ramdrive.sys 384,128,16/E(?)
lastdrive=E
buffers=30
files=20
- The running order in the MS-DOS Config file is:
1) DOS=High and DOS=UMB run first, and these two run in the order of arrangement. If Himen.sys or Emm386.exe has not been run at this time, DOS will be reserved first, and after Himen.sys or Emm386.exe is loaded, DOS=High and DOS=UMB will be run immediately.
2) Next, run the Config commands such as Device, Files, Buffers…DeviceHigh, Shell, etc. Each command runs according to the arrangement order.
3) Finally, run the Install command.
The above commands are scattered in multiple configuration sections. Then DOS will wait for the user to complete the configuration section selection, concentrate the selected configuration section and the Config commands in the Command section, and then run according to the above orders 1, 2, 3.
[
Last edited by Billunique on 2007-4-7 at 12:26 PM ]