|
雨浪飘零
中级用户
  
积分 364
发帖 95
注册 2003-6-15
状态 离线
|
『楼 主』:
请高手解决多光驱加载问题~~~谢~~~
使用 LLM 解释/回答一下
现在的启动盘在一个光驱时都能很好的工作,但是多光驱时就有问题了~~特别是在用启动盘镜像做光盘引导文件时情况更明显~~~
现把所有疑问写出来,请高手做答,在此先行谢过~~~
问题1:
DOS下如何给每个光驱自动分配盘符?(我用FINDCD试了一下,它好像不能给每个光驱自动分配盘符)
问题2:
有人说”用一个工具检查光驱中是否有光盘,如果没有,将光驱盘符换为下一个驱动器”但是这样的话还是每次只能加载一个光驱,其他的还是不能用~~另这样的软件兄不知哪里能找到?
问题3:
另如果每个光驱中都有盘,只有一个可以引导,那它如何识别到是否可引导?
问题4:
不知道USB光驱是否支持引导?如果支持的话,加载USB驱动后的光驱和IDE光驱同时存在时是否会有所冲突?
Now the boot disks work well when there is one CD-ROM drive, but there are problems when there are multiple CD-ROM drives~~ Especially when using boot disk images as CD-ROM boot files, the situation is more obvious~~~
Now write down all the doubts, please experts answer, thank you in advance here~~~
Question 1:
How to automatically assign drive letters to each CD-ROM drive under DOS? (I tried FINDCD, and it seems that it can't automatically assign drive letters to each CD-ROM drive)
Question 2:
Some people say "Use a tool to check if there is a CD in the CD-ROM drive. If not, change the drive letter of the CD-ROM drive to the next drive". But in this case, only one CD-ROM drive can be loaded each time, and the others still cannot be used~~ I don't know where to find such software, brother?
Question 3:
Also, if there are disks in each CD-ROM drive and only one can boot, how does it recognize whether it can boot?
Question 4:
I don't know if USB CD-ROM drives support booting? If they support, will there be conflicts when the USB drive and the IDE CD-ROM drive coexist after loading the USB driver?
|
|
2003-6-22 00:00 |
|
|
szwy
初级用户
 
积分 129
发帖 10
注册 2002-11-17
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
前面两个问题,只要加载了MSCDEX.EXE都会给每个光驱分配盘符。
第三个问题,哪个光盘中有引导文件,它就从哪个光驱里的光盘引导。
第四个问题,我没有USB光驱,不好作答。
The first two questions, as long as MSCDEX.EXE is loaded, it will assign a drive letter to each CD-ROM.
The third question, which CD has the boot file, it will boot from the CD in that CD-ROM.
The fourth question, I don't have a USB CD-ROM, so it's hard to answer.
|
|
2003-6-22 00:00 |
|
|
雨浪飘零
中级用户
  
积分 364
发帖 95
注册 2003-6-15
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
谢兄了~~~非常感谢~~~
我再试试~~~
另兄能否讲解一下FINDCD的作用和用法~~~
Thanks, brother~~~ Very grateful~~~
I'll try again~~~
Can the other brother explain the function and usage of FINDCD~~~
|
|
2003-6-22 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
FINDCD的用法呀,看看FINDCD /?吧。。
例如:FINDCD /S
The usage of FINDCD, let's take a look at FINDCD /? For example: FINDCD /S
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2003-6-22 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
我发现有个棘手的问题没有解决:
这两天做启动光盘,其中有个菜单可启动杀毒盘景象,我想更新病毒库,但是那个景象容纳不下了(2.88的软盘景象,已经够大了...),于是想到了启动后通过AUTOEXEC.BAT运行FINDCD,自动切换到光盘.运行光盘上的程序(包括新病毒库),刻录成光盘后放在第一光驱没问题的,但是放在第二光驱就找不到了,因为FINDCD传递的CDROM变量只是光盘盘符,他好象不能判断出有盘的光驱呀...
试了用ERRORLEVEL的方法,但是总是给出
GERENAL ERROR READING DRIVE X:
ABORT, RETRY, FAILURE ? 停在那里
无法自动化!
不知道有什么参数或程序可判断出有盘的光驱?
最好是判断出正在运行的光盘的盘符..
I found a tricky problem that hasn't been solved:
In the past two days, when making a bootable CD, there is a menu for the bootable antivirus disk scene. I want to update the virus database, but that scene can't hold it anymore (it's a 2.88 floppy disk scene, which is already large...). So I thought of running FINDCD through AUTOEXEC.BAT after booting to automatically switch to the CD. The program on the CD (including the new virus database) is okay when burned to a CD and placed in the first CD drive, but when placed in the second CD drive, it can't be found because the CDROM variable passed by FINDCD is just the CD drive letter, and it seems it can't determine the CD drive that has a disk...
I tried the method with ERRORLEVEL, but it always gives
GERENAL ERROR READING DRIVE X:
ABORT, RETRY, FAILURE ? Stops there
Can't automate!
Is there any parameter or program that can determine the CD drive that has a disk?
It's best to determine the drive letter of the currently running CD..
|
|
2005-2-23 00:00 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
|
2005-2-23 00:00 |
|
|
chenhui530
高级用户
   
积分 772
发帖 273
注册 2004-10-23
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
我想了下根据一个小工具写出了一个批处理把复制到AUTOEXEC.BAT中先指定光驱盘符比如是有三个光区.可以判断哪个光驱中有盘哪个没盘(只作参考不知道能,满足你们的需求吗?)@echo off
set EXPAND=YES
SET DIRCMD=/N
set temp=c:\
set tmp=c:\
path=a:\;z:\
set ramdrive=
xmsdsk 10000 z: /y>nul
set ramdrive=z:
copy command.com z:\>nul
z:
md tmp
md temp
a:
set comspec=z:\command.com
set tmp=z:\tmp
set temp=z:\temp:xianshi
set cdrom=
copy a:\tw.exe z:\>nul
z:
tw /n3 /np>nul
cls
echo.
echo.
echo ========================
echo 请稍等,程序正在处理中
echo ========================
echo.
echo.copy a:\mscdex.exe z:\>nul
LH z:\MSCDEX.EXE /D:mscd000 /D:mscd001 /D:mscd002 /L:w >nul
copy a:\cda.exe z:\>nul
z:
cda w:>z:\cdw.txt
find "not" z:\cdw.txt>nul
if not errorlevel 1 goto cdx
set cdrom=w
goto next:cdx
cda x:>z:\cdx.txt
find "not" z:\cdx.txt>nul
if not errorlevel 1 goto cdy
set cdrom=x
goto next:cdy
set cdrom=y:next
copy a:\part.exe z:\>nul
part.exe -y>nul
del part.exe>nul
lh doskey>nul
ctmouse>nul
smartdrv>nul :menu
z:
part.bat
I thought about it and wrote a batch script based on a small tool. First, copy it to AUTOEXEC.BAT. First, specify the CD - ROM drive letter. For example, there are three CD - ROM drives. It can judge which CD - ROM has a disc and which doesn't (just for reference, I don't know if it can meet your needs)
@echo off
set EXPAND=YES
SET DIRCMD=/N
set temp=c:\
set tmp=c:\
path=a:\;z:\
set ramdrive=
xmsdsk 10000 z: /y>nul
set ramdrive=z:
copy command.com z:\>nul
z:
md tmp
md temp
a:
set comspec=z:\command.com
set tmp=z:\tmp
set temp=z:\temp:xianshi
set cdrom=
copy a:\tw.exe z:\>nul
z:
tw /n3 /np>nul
cls
echo.
echo.
echo ========================
echo Please wait, the program is processing
echo ========================
echo.
echo.copy a:\mscdex.exe z:\>nul
LH z:\MSCDEX.EXE /D:mscd000 /D:mscd001 /D:mscd002 /L:w >nul
copy a:\cda.exe z:\>nul
z:
cda w:>z:\cdw.txt
find "not" z:\cdw.txt>nul
if not errorlevel 1 goto cdx
set cdrom=w
goto next:cdx
cda x:>z:\cdx.txt
find "not" z:\cdx.txt>nul
if not errorlevel 1 goto cdy
set cdrom=x
goto next:cdy
set cdrom=y:next
copy a:\part.exe z:\>nul
part.exe -y>nul
del part.exe>nul
lh doskey>nul
ctmouse>nul
smartdrv>nul :menu
z:
part.bat
|

http://www.msfans.net/bbs/ |
|
2005-2-23 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
多谢JONEPENG的提示! 问题已解决了,关键是/F参数
开始用AUTOEXEC.BAT COMMAND /F /C 开始可以的,也许是这种方式占内存的因素,后来就不起作用了,改用 CONFIG.SYS SHELL=的方式就没问题了,也许是这种方式占内存较少,比较底层吧?
解决了烦人的GERENAL FAILURE READING FROM X: 提示
就好办了!
改写启动景象的AUTOEXEC.BAT 如下:
@ECHO OFF
lh shsucdx /d:dosrav
findcd /s
rem command /f /c
if exist %cdrom1%\rising\ravdos.exe goto cd1
if exist %cdrom2%\rising\ravdos.exe goto cd2
if exist %cdrom3%\rising\ravdos.exe goto cd3
if exist %cdrom4%\rising\ravdos.exe goto cd4
:cd1
%cdrom1%
goto end
:cd2
%cdrom2%
goto end
:cd3
%cdrom3%
goto end
:cd4
%cdrom4%
goto end
:end
cd\rising
lh smartdrv
lh ctmouse
PROMPT $p$g
CLS
ECHO.
ECHO ************************************************************************
ECHO.
ECHO It's starting "Rising AntiVirus Software <2005>" now !
ECHO Copyright by Beijing Rising Tech. Co., Ltd.
ECHO 1998-2005
ECHO.
ECHO ************************************************************************
RAVDOS.EXE
用ERRORLEVEL 好象不行的,因为用了COMMAND /F的参数后,当找不到光盘时,系统会认为正常的,ERRORLEVEL 仍为0.
CONFIG.SYS:
dos=high,umb
device=himem.sys
devicehigh=vide-cdd.sys /d:dosrav
shell=command.com /f /p /e:640
BUFFERS=22,0
FILES=40
把光驱驱动和FINDCD放在景象中
再把瑞星DOS杀毒文件和SMARTDRV CTMOUSE放在光盘RISING目录中就行了!
解决的很完满! 因为不仅能判断出哪个光驱有盘,而且还能找到正在运行的光盘所在的光驱!
重要的文件在下面:
vide-cdd.sys shsucdx.exe findcd.exe ctmouse.exe
打开附件
Thanks for JONEPENG's tip! The problem has been solved. The key is the /F parameter. Initially, using AUTOEXEC.BAT with COMMAND /F /C started okay. Maybe because this method consumed more memory, later it didn't work. Then switching to the CONFIG.SYS SHELL= method worked fine. Maybe this method consumes less memory and is more at the bottom level?
After solving the annoying "GERENAL FAILURE READING FROM X:" prompt, it's easier!
The rewritten AUTOEXEC.BAT for the boot screen is as follows:
@ECHO OFF
lh shsucdx /d:dosrav
findcd /s
rem command /f /c
if exist %cdrom1%\rising\ravdos.exe goto cd1
if exist %cdrom2%\rising\ravdos.exe goto cd2
if exist %cdrom3%\rising\ravdos.exe goto cd3
if exist %cdrom4%\rising\ravdos.exe goto cd4
:cd1
%cdrom1%
goto end
:cd2
%cdrom2%
goto end
:cd3
%cdrom3%
goto end
:cd4
%cdrom4%
goto end
:end
cd\rising
lh smartdrv
lh ctmouse
PROMPT $p$g
CLS
ECHO.
ECHO ************************************************************************
ECHO.
ECHO It's starting "Rising AntiVirus Software <2005>" now !
ECHO Copyright by Beijing Rising Tech. Co., Ltd.
ECHO 1998-2005
ECHO.
ECHO ************************************************************************
RAVDOS.EXE
Using ERRORLEVEL didn't work because after using the COMMAND /F parameter, when the CD-ROM wasn't found, the system considered it normal and ERRORLEVEL was still 0.
CONFIG.SYS:
dos=high,umb
device=himem.sys
devicehigh=vide-cdd.sys /d:dosrav
shell=command.com /f /p /e:640
BUFFERS=22,0
FILES=40
Put the CD-ROM driver and FINDCD in the screen.
Then put the Rising DOS antivirus files and SMARTDRV CTMOUSE in the RISING directory of the CD-ROM. It's solved perfectly! Because it can not only determine which CD-ROM has a disc but also find the CD-ROM where the running disc is located!
The important files are as follows:
vide-cdd.sys shsucdx.exe findcd.exe ctmouse.exe
Open attachment
|
|
2005-2-24 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我遇到了一个EASYBOOT奇怪的BUG!
开始,光盘子目录为RAVDOS,其中的程序是RAVDOS.EXE, 同名,还有VIDE-CDD.SYS /D:RAVDOS 还有 SHSUCDX /D:RAVDOS
以上的名都是RAVDOS, 好了,BUG就来了!
运行后,其他所有的文件都正常,惟独找不到RAVDOS.EXE 这个文件!! (DIR它的上层目录有他的大名的,但是DIR /A RAVDOS.EXE 就没有了!!!当然程序也不能运行的)
你说怪不怪? 后来化了九牛二虎之力终于查出了这个原因!! 名称不同就没问题了!!
I encountered a strange BUG in EASYBOOT!
Initially, the CD - ROM sub - directory is RAVDOS, and the program in it is RAVDOS.EXE, with the same name. Also, there are VIDE - CDD.SYS /D:RAVDOS and SHSUCDX /D:RAVDOS. All the above names are RAVDOS. Well, the BUG comes!
After running, all other files are normal, but just can't find the RAVDOS.EXE file!! (DIR has it in its upper - level directory, but DIR /A RAVDOS.EXE can't find it!!! Of course, the program can't run either)
Isn't it strange? Later, it took great efforts to finally find out the reason!! If the names are different, there is no problem!!
|
|
2005-2-24 00:00 |
|
|