Command and Configuration of CONFIG.SYS File

  

CONFIG.SYS is an important file in DOS system, its configuration directly affects the use of the system and its efficiency. If the configuration is not correct, many programs may not work properly. Therefore, it is necessary and important to properly and properly configure the CONFIG.SYS file. Below I will introduce you to the commands in CONFIG.SYS and their configuration methods.

CONFIG.SYS commands:
Note: All expressed as the end of the command HIGH (such as DEVICEHIGH) be transferred to UMB (upper memory), but some of these commands (such as FILESHIGH) must Used in MS-DOS 7.x version.

ACCDATE : Specify whether to record the date the file was last accessed for each drive.
Usage: ACCDATE= Drive 1+| - [Drive 2+| -]...
For example: ACCDATE=C+ D+ E+ will record the date the file was last accessed in the C, D, E disk.
This command is only used in MS-DOS 7.x.

BREAK : Set or clear the extended CTRL+C check.
Usage:BREAK=ON| OFF
//This article comes from the computer software and hardware application network www.45it.com
BUFFERS/BUFFERSHIGH: allocate memory for the specified number of disk buffers.
Usage: BUFFERS=Number of disk buffers, [Number of buffers in slave cache]

DEVICE/DEVICEHIGH : Loads the specified device driver into memory.
Usage: DEVICE/DEVICEHIGH File name [Parameter]
where the file name is the full path of the file, such as C:\\DOS\\HIMEM.SYS.

DOS: DOS system for configuring, such as whether to use the HMA (high memory area) and the like.
Usage: DOS=[HIGH| LOW][,UMB| ,NOUMB][,AUTO| ,NOAUTO][,SINGLE]
Among them, HIGH and LOW means use HMA or not use HMA, UMB and NOUMB means use UMB or not use UMB, AUTO or NOAUTO means system automatic configuration or not automatic configuration, SINGLE means single use Mode DOS. Among them, AUTO/NOAUTO and SINGLE are only used in MS-DOS 7.x.

DRIVPARM : Set the parameters of the existing physical device.
Note: This command is used very little, I have never used it, so skip it for now.

FCBS/FCBSHIGH : Specify the number of file control blocks (FCBs) that can be opened at the same time.
Usage: FCBS/FCBSHIGH=The number of FCBs that can be opened at the same time.
Note: Since FCB is mainly used in DOS 1.x, for high version, it can be automatically configured by the system.

FILES/FILESHIGH : Specifies the number of files that can be accessed simultaneously.
Usage: FILES/FILESHIGH=The number of files that can be accessed simultaneously.
Note: Generally, the setting value of FILES/FILESHIGH is suitable for around 30.

INSTALL/INSTALLHIGH : Used to load TSR (memory resident program).
Usage: INSTALL/INSTALLHIGH=File Name [Parameter]
For example: INSTALLHIGH=C:\\DOS\\DOSKEY.COM /APPEDIT

LASTDRIVE/LASTDRIVEHIGH : Specify the last valid of the drive that can be accessed. Drive letter.
Usage: LASTDRIVE=Drive letter
If LASTDRIVE=F will set F to the last valid drive letter.

NUMLOCK: Specifies whether NUMLOCK specifies whether the light is on at startup.
Usage: NUMLOCK=ON| OFF

REM : Add annotations.
Usage: REM [Annotation String]
Note: The string in the annotation is only used to increase readability and will not be executed.

SET: Design DOS environment variable.
Usage: SET = variable [variable value]

SHELL: DOS using the specified command interpreter name and location.
Usage: SHELL=File Name [Parameter]
Note: The file name defaults to COMMAND.COM, you can also specify other files, such as 4DOS.EXE.

STACK/STACKHIGH : Specify the number of stacks to use.
Usage: STACK /STACKHIGH = the number of stacks, the size of each stack
Note: Usually specified value is 9,256, this value can meet most of the needs.

SWITCHES : Specify some special options.
Usage: SWITCHES = [/W] [/F] [/K] [/N] [/E [: n]]

some other configuration menu command, such as MENUITEM, MENUCOLOR etc. .

the MS-DOS 7.x not disclosed in some commands, such as LOGO, COMMENT like.

know more command, we should talk about how to use these commands to configure the CONFIG.SYS file. The impact of the configuration on the system is very large. The following are the contents of the CONFIG.SYS file in my computer (both MS-DOS 7.10), which you can use as a reference.

a computer, using EMM386.EXE:

device = d: \\ dos \\ echo.sys L /o /a /d /i /n /g CONFIG.SYS ... < BR>device=d:\\dos\\himem.sys
device=d:\\dos\\emm386.exe noems novcpi i=b600-b7ff
devicehigh=d:\\dos\\mdctools\\setver.exe
Devicehigh=d:\\dos\\ifshlp.sys
devicehigh=d:\\dos\\vide-cdd.sys /d:IDE-CD
devicehigh=d:\\dos\\cloaking.exe
country=086,936 ,d:\\dos\\country.sys
shell=c:\\command.com /p /e:640
set temp=e:\\temp
set tmp=e:\\temp
accdate =c+ d+ e+
dos=high,umb,auto
numlock=off
files=30
buffershigh=30,0
fcbshigh=4,0
lastdrivehigh=n
stackshigh=9,256

Computer 2, use UMBPCI.SYS:

device=d:\\dos\\echo.sys L/o/a/d/i/n/g CONFIG.SYS ...
device=d:\\dos\\echo.sys
device=d:\\dos\\umbpci.sys
device=d:\\dos\\hiram.exe
devicehigh=d:\\ Dos\\himem.sys
devicehigh=d:\\dos\\setver.exe
devicehigh=d:\\dos\\ifshlp.sys
devicehigh=d:\\dos\\vide-cdd.sys /d:IDE -CD
shell=d:\\dos\\command.com /p /e:640
s Et temp=e:\\temp
set tmp=e:\\temp
accdate=c+ d+ e+
dos=high,umb,auto
country=086
numlock=off
Fileshigh=30
buffershigh=30,0
stackshigh=9,256
lastdrivehigh=n

You may wish to try, I believe you will also make a good CONFIG.SYS file.

Copyright © Windows knowledge All Rights Reserved