Board logo

标题: Please help me to …………… [打印本页]

作者: Microng     时间: 2002-12-9 00:00    标题: Please help me to ……………

Please help me  to create a Config.sys and Autoexec.bat to have the following function.
1. Safe prompt DOS mode
2. CD-ROM available
3. Smartdrv available
If anything need clearify , contact with me! Thanks a lots !
作者: MYS     时间: 2002-12-9 00:00
你这样做的目的是什么?
让计算机不要进入WINDOWS而直接进入DOS?这样的话是可以办到的,修改一下WIN98启动盘中的CONFIG.SYS和AUTOEXEC.BAT便可以。
作者: Wengier     时间: 2002-12-9 00:00
自己建个CONFIG.SYS就可以了,其中有以上四个选项即可,然后在AUTOEXEC.BAT中对%CONFIG%变量进行判断以进行相应的操作。
作者: microng     时间: 2002-12-10 00:00
Great gratitude for your prompt reply !
But I had verified both of them ,and result was fail.
Can you give me a file which been created and realized those  functions?
Thanks again!
作者: Wengier     时间: 2002-12-10 00:00
试试这儿:

CONFIG.SYS:

[MENU]
MENUITEM=safe,Safe mode DOS prompt
MENUITEM=cd,CD-ROM available
MENUITEM=cache,SMARTDRV available
MENUDEFAULT=CD,5
[safe]
[cd]
DOS=HIGH,UMB
DEVICE=UMBPCI.SYS
DEVICE=HIRAM.EXE
DEVICEHIGH=HIMEM.SYS
DEVICEHIGH=VIDE-CDD.SYS /D:CDROM1
[cache]
[common]
FILESHIGH=30
STACKSHIGH=9,256
SHELL=c:\command.com /p

AUTOEXEC.BAT:
@ECHO OFF
IF %CONFIG%#==cd# LH MSCDEX /D:CDROM1 /S /K
IF %CONFIG%#==cache# LH SMARTDRV
作者: microng     时间: 2002-12-10 00:00
Dear Wengier:
             I try your file on my computer , and find it's fail.
It cannot get the smartdrv,and it cannot realized the function of cd-rom availble.
can you help me double check it ?

some information for your refence :
  Smartdrive cannot be loaded because the XMS driver;Himem.sys is not loaded, check the config.sys file for a device=himem.sys command line
作者: Wengier     时间: 2002-12-10 00:00
那在[cache]项中也加入对HIMEM.SYS的调用即可。
作者: microng     时间: 2002-12-11 00:00
Thank you very much !
I verify it and find 2. CD-ROM available ------is fail,
and the third choice is ok.
can you do kind girl to the end ? thanks !

作者: Wengier     时间: 2002-12-11 00:00
那请问加载光驱时您看到什么错误信息?VIDE-CDD.SYS和MSCDEX.EXE文件都存在吗?
作者: microng     时间: 2002-12-12 00:00
VIDE-CDD.SYS is missing or corrupted
UMBPCI.SYS, HIRAM.EXE, COMMAMD.COM at same status!

作者: Wengier     时间: 2002-12-12 00:00
可见是VIDE-CDD.SYS加载有问题,请确保DEVICE命令指定的文件的路径正确(如C:\DOS\VIDE-CDD.SYS),而且文件没有损坏.
作者: microng     时间: 2002-12-13 00:00
I verify the file and find : DEVICEHIGH=VIDE-CDD.SYS /D:CDROM1
and i'm sure the file not be damaged, I am so confused for it !!$#%$
作者: mys     时间: 2002-12-13 00:00
是不是ROMDOS,我试过在ROMDOS7下,VIDE-CDD加载后CDROM的名字不再由我指定,而是变成VIDE-CD$,要用mscdex /d:vide-cd$才能正确驱动CDROM。
作者: Wengier     时间: 2002-12-13 00:00
莫老师,不会吧,我试过在ROM-DOS下VIDE-CDD.SYS的CDROM的名字仍然是由我指定的,用的是/D:CDROM1,从来就没有出现过问题。
作者: MYS     时间: 2002-12-13 00:00
哈,因为你的新ROMDOS盘上没有SYS,我用NU的DISKTOOL将系统的三个核心文件传到硬盘上,启动时VIDE-CDD。SYS找到光驱,无论如何MSCDEX都找不到驱动,我用MI查看发现有VIDE-CD$字样,用它作光驱名MSCDEX就可以驱动光驱了。
还有我是用SPFDISK做的多重启动,不知是否有影响。
作者: Wengier     时间: 2002-12-14 00:00
我之所以将SYS命令去掉了,主要是想证明ROM-DOS.SYS根本就不是ROM-DOS的核心文件。
作者: MYS     时间: 2002-12-14 00:00
确实不是,用DISKTOOLS制作启动盘时,只需三个核心文件就可以了。但奇怪为什么SYS命令需要ROM-DOS.SYS呢?
作者: Wengier     时间: 2002-12-14 00:00
ROM-DOS这样做,大概也是一种便利性吧,这样只需ROM-DOS.SYS和COMMAND.COM就可以用SYS命令来在任何地方都可以完成传递系统的操作。
作者: Roy     时间: 2002-12-14 00:00
ROM-DOS 6.22 的手册中写着的:
“……The /S switch causes FORMAT to copy the ROM-DOS system files, ROM-DOS.SYS and
COMMAND.COM, onto the disk. The file ROM-DOS.SYS is renamed and stored on the disk as
files IBMBIO.COM and IBMDOS.COM, which are stored as hidden files, unless the /H option is
used.……”

作者: Wengier     时间: 2002-12-14 00:00
以下是ROM-DOS 7.10的使用手册中关于SYS命令的介绍:

The SYS command copies the ROM-DOS system files ROM-DOS.SYS and COMMAND.COM from the disk in the default drive to the disk in the specified drive.
The file ROM-DOS.SYS is renamed and stored on the disk as files IBMBIO.COM and IBMDOS.COM, which are stored as hidden files.

Use the SYS command to transfer the ROM-DOS system files to a floppy disk or hard disk.  The disk can be a formatted blank disk or can contain files; it is not necessary for the system files to be the first files on the disk.  The only requirement is that there is enough contiguous free space on the disk for the new system files to be placed. If the disk already contains system files, installing the new system files deletes the existing files. The command processor, COMMAND.COM, is also transferred to the disk and does not need to be copied into the same contiguous space as the system files.
作者: ko20010214     时间: 2003-7-4 00:00
先学会怎么提问再说吧。
把你帖子的标题改好点。
对这种标题的帖子以后有可能只有这三种下场:
1。没人理。(这是最好的情况)
2。被转移到灌水区。
3。被删。