Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the command and configuration of CONFIG.SYS file

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to use CONFIG.SYS file command and configuration", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "how to use CONFIG.SYS file command and configuration" bar!

Commands in CONFIG.SYS:

Note: all commands that end in HIGH (such as DEVICEHIGH) are called into UMB (upper memory), but some such commands (such as FILESHIGH) must be used in version 7.x of MS-DOS.

ACCDATE: specifies whether to record the date on which the file was last accessed for each drive.

Usage: ACCDATE= drive 1 + |-[drive 2 + | -].

For example, ACCDATE=C+ D+ E + will record the date on which the file was last accessed on disk Cline D, E.

This command is only used in MS-DOS 7.x.

BREAK: sets or clears extended CTRL+C checks.

Usage: BREAK=ON | OFF

BUFFERS/BUFFERSHIGH: allocates memory for a specified number of disk buffers.

Usage: number of BUFFERS= disk buffers, [number of buffers in dependent cache]

DEVICE/DEVICEHIGH: loads the specified device driver into memory.

Usage: DEVICE/DEVICEHIGH file name [parameter]

Where the file name is the full path to the file, such as C:\ DOS\ HIMEM.SYS.

DOS: used for the configuration of DOS systems, such as whether to use HMA (high-end memory area), etc.

Usage: DOS= [high | LOW] [, UMB |, NOUMB] [, AUTO |, NOAUTO] [, SINGLE]

Where HIGH and LOW means using HMA or not using HMA,UMB and NOUMB means using UMB or not using UMB,AUTO or NOAUTO means that the system is automatically configured or not automatically configured, and SINGLE means using a single mode of DOS. Where AUTO/NOAUTO and SINGLE are only used in MS-DOS 7.x.

DRIVPARM: sets parameters for existing physical devices.

Note: this command is rarely used, and I haven't used it, so skip it for the time being.

FCBS/FCBSHIGH: specifies the number of file control blocks (FCB) that can be opened simultaneously.

Usage: the number of FCB FCBS/FCBSHIGH= can open at the same time.

Note: because FCB is mainly used in DOS 1.x, for higher versions, you can let the system configure automatically.

FILES/FILESHIGH: specifies the number of files that can be accessed simultaneously.

Usage: the number of files FILES/FILESHIGH= can access at the same time.

Note: generally, the setting value of FILES/FILESHIGH is about 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: specifies the last valid drive letter of the accessible drive.

Usage: LASTDRIVE= driver letter

For example, LASTDRIVE=F will set F to the last valid drive letter.

NUMLOCK: specifies whether the NUMLOCK specifies whether the light is turned on at startup.

Usage: NUMLOCK=ON | OFF

REM: add comments.

Usage: REM [comment string]

Note: the string in the comment is only used to increase readability and will not be executed.

SET: design DOS environment variables.

Usage: SET variable = [variable value]

SHELL: specifies the name and location of the command interpreter used by DOS.

Usage: SHELL= file name [parameter]

Note: the file name is COMMAND.COM by default, you can also specify other files, such as 4DOS.EXE, etc.

STACK/STACKHIGH: specifies the number of stacks to use.

Usage: number of STACK/STACKHIGH= stacks, size of each stack

Note: usually the specified value is 9 ~ 256, which can meet most requirements.

SWITCHES: specify some special options.

Usage: SWITCHES= [/ W] [/ F] [/ K] [/ N] [/ E [: n]]

Others are menu configuration commands, such as MENUITEM,MENUCOLOR, etc.

There are also some undisclosed commands in MS-DOS 7.x, such as LOGO,COMMENT.

Now that you know the above commands, it's time to talk about how to use these commands to configure CONFIG.SYS files. The quality of configuration has a great impact on the system. The following is the contents of the CONFIG.SYS file in my computer (all MS-DOS 7.10), which can be used as a reference.

Computer one, use EMM386.EXE:

Device=d:\ dos\ echo.sys L/o/a/d/i/n/g CONFIG.SYS...

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 / epur.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=9256

Computer two, 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 / epur.640

Set 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=9256

Lastdrivehigh=n

Thank you for your reading, the above is the content of "how to use the command and configuration of CONFIG.SYS file". After the study of this article, I believe you have a deeper understanding of how to use the command and configuration of CONFIG.SYS file, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report