MSDOS.SYS设置全攻略

 

用过DOS系统的朋友都知道,在DOS时代有一个很重要的系统文件MSDOS.SYS。其实在Windows 9x系统中也有一个MSDOS.SYS,它藏在C盘的根目录下,具有只读、隐含、系统属性。

不同于DOS下的系统文件MSDOS.SYS,它是由ASCII码构成的可修改的纯文本文件(修改前,必须先去掉只读、隐含、系统属性,再用任意的文字编辑软件打开,就可进行修改了),其基本命令格式为:关键字=字值,关键字的字值由“0”、“1”或其它字母或数字组成。下面我们来看看各个关键字所起的作用:

[Paths]

1.HostWinBootDrv:

指Windows的启动盘。一般在C盘,所以设为:HostWinBootDrv = C

2.WinDir,3.WinBootDir:

这两项是设置Windows的系统文件安装在哪个盘的什么目录下,默认都是:C:\Windows

4.UninstallDir:这是设置卸载文件保存的盘符,默认是C盘,即:UninstallDir=C。如果安装时没有选择保存卸载文件,该项则没有意义。

[Options]

(注:“=”号后为默认值,[ ]中为可选值。如无特别说明,“1”表示允许,“0”表示禁止,下同)

1.BootMulti = 0 [1]

表示是否允许引导到以前的DOS。当你从DOS6.xx下安装Windows 9x,旧的DOS没删除,如想继续使用,就可使用此关键字。字值为“1”时,在出现“Starting Windows 9x……”时,按下F8,再选“Previous Version of MS-DOS”项,就可引导到旧的MS-DOS。如关键字值为0,则不允许引导到旧的DOS。

2.BootWin = 1 [0]

设置启动时是否引导到Windows。

3.BootGUI = 1 [0]

设置启动后是否进入图形用户界面。

4.LOGO = 1 [0]

设置开机时是否显示蓝天白云的画面。

5.BootKeys = 1 [0]

设置开机时,是否可以使用功能键(F4进入旧DOS版本,F5进入安全模式,F6进入支持基本网络功能的安全模式,F8显示启动菜单)。

6.BootMenu = 0 [1]

设置开机时是否显示启动菜单。当显示“Starting Windows 9x……”时,按下F8键会出现如下菜单:

-------------------------------------------------

Microsoft Windows 98 Startup Menu

1.Normal (一般)

2.Logged\Bootlog.txt

(用Bootlog.txt文件启动)

3.Safe mode (安全模式)

4.Step-by-step confirmation

(单步确认执行系统配置)

注:若在此生成一个Bootlog.txt文件,以后启动时可选菜单2,利用此文件启动相应的选择项。

5.Command prompt only

(执行Config.sys和Autoexec.bat后进入MS-DOS 7.0状态)

6.Safe mode command prompt only (仅执行Command.com返回到DOS提示符下)

Enter a choice:

-------------------------------------------------

如该项设为1,则开机后直接显示如上启动菜单。

7.BootMenuDelay = 30 [n]

开机时如显示启动菜单,则该项设置启动菜单显示的时间,默认是30秒。

8.BootMenuDefault = 1 [n]

开机时如出现启动菜单,设置启动菜单上的光亮条指在哪一项上,缺省值为1,即启动菜单第一项:1. Normal

9.BootWarn = 1 [0]

设置在启动时如果出现错误,是否显示报警信息。

10.DblSpace = 1 [0]

设置开机时是否自动加载dblspace.bin文件。

11.DrvSpace = 1 [0]

设置开机时是否自动加载drvspace.bin文件。

注:dblspace.bin、drvspace.bin分别是用DoubleSpace、DriveSpace压缩过的硬盘在Windows 9x下正常使用所需的文件。如果硬盘没有用DoubleSpace或DriveSpace压缩过,则可将相应项设为0,可以缩短进入Windows的时间。

12.LoadTop = 1 [0]

设置在Windows 9x的DOS7.0启动时,是否将command.com、drvspace.bin、dblspace.bin加载到传统640KB中较高的内存地址(UMB)。

13.DoubleBuffer = 0 [1]

设置在装入Windows 9x前,是否进行双缓冲。如果系统中使用有SCSI(Small Computer System Interface)接口,开启Double Buffer可以使传输速率加快,如没有SCSI接口,则此项设置无意义。

14.BootSafe = 0 [1]

设置开机是否强迫进入安全模式。

15.AutoScan = 1 [0、2]

设置启动时是否执行扫描程序。

注:关键字值为0,不执行SCANDISK程序;字值为1,如上次非正常关机时执行SCANDISK;字值为2,则每次启动时都自动执行SCANDISK。

16.NetWork = 0 [1]

设置启动时是否加载网络功能。如果设置Network=1,则在启动菜单上,会多出一条“Safe mode with network support”选项。

[xxxxxx]

大家可能都注意到了,在MSDOS.SYS文件的最后,还有许多的“xxxxxx”,这些字符有什么作用呢?原来,它们是为了防止MSDOS.SYS文件小于1024KB时,会遭到一些DOS下的杀毒程序的误杀而加的,还是不删为妙。

Psend kept free because of these great sponsors.a..

Other Sponsors

electrical connectors, Mangosteen Juice, real estate short sale, Jupiter FL real estate,

Furniture Markdown

Great Deals on furniture - Free Shipping!
Discount Furniture
Daybeds
Metal Beds
Platform Beds
Futons

Y-Net Wireless Internet

Denver area high speed wireless privider.
Colorado High Speed Internet, Wireless Internet Denver, VOIP Denver CO, T1 provider Denver, Denver Wireless ISP , Denver Internet Access,

Dog House Technologies

Doghouse Techonologies is located in Tampa Bay FL and offer professional web design, ecommerce development and custom application design for the internet.
Tampa Bay Web Design, E-Commerce Web Design, Tampa Bay Search Engine Marketing, Tampa Web Hosting, Florida Web Design, Custom Application Development, Search Engine Optimization,

/hosting.asp">Tampa Web Hosting and Florida Web Design This site hosted curtosy of Psend.com's Free Web Hosting. Psend is a division of Telos Online, Inc. Psend kept free because of these great sponsors.a..

Other Sponsors

electrical connectors, Mangosteen Juice, real estate short sale, Jupiter FL real estate,

Furniture Markdown

Great Deals on furniture - Free Shipping!
Discount Furniture
Daybeds
Metal Beds
Platform Beds
Futons

Y-Net Wireless Internet

Denver area high speed wireless privider.
Colorado High Speed Internet, Wireless Internet Denver, VOIP Denver CO, T1 provider Denver, Denver Wireless ISP , Denver Internet Access,

Dog House Technologies

Doghouse Techonologies is located in Tampa Bay FL and offer professional web design, ecommerce development and custom application design for the internet.
Tampa Bay Web Design, E-Commerce Web Design, Tampa Bay Search Engine Marketing, Tampa Web Hosting, Florida Web Design, Custom Application Development, Search Engine Optimization,