中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-06 05:48
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » You can specify the drive letter, but what if there are two optical drives???
Printable Version  2,843 / 1
Floor1 ZhiChaoC Posted 2010-04-08 15:27
初级用户 Posts 42 Credits 88
Can specify the drive letter, but when there are two optical drives??? When booting from the second optical drive, the specified drive cannot be found???
Floor2 secowu Posted 2011-01-13 14:48
初级用户 Posts 92 Credits 201
@cdrom.bat
@smartdrv.exe
@mouse.com
:top
set cdrom=
findcd 0 >nul
if "%cdrom%"=="0" goto Nocd
set n=%cdrom%+1
set cdrom=

:loop
set n=%n%-1 >nul
if "%n%"=="0" goto NOCD
set cdrom=
findcd %n% >nul
dready %cdrom%
if errorlevel 255 goto loop
if errorlevel 2 goto loop

:ok?
if not exist %cdrom%\boot\imgs\ghost.exe goto loop
:OK
ECHO Current CDROM is %CDROM%
GOTO END

:nocd
echo No CD_ROM Or all CD_ROM are not ready!

:end
set m=
set n=
@path=A;path=%CDROM%:;path=%CDROM%:\boot\imgs
ghost -clone,mode=pload,src=%cdrom%\seco\winos.gho:1,dst=1:1 -sure -rb
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023