无忧启动论坛
标题:
求助,编辑制作DOS启动盘时遇到的问题
[打印本页]
作者:
2010feya
时间:
2010-9-7 00:23
标题:
求助,编辑制作DOS启动盘时遇到的问题
新手问题
想给xp的启动盘(软盘)添加光驱支持,所以从me启动盘里提取了相关文件,编辑后功能正常,唯一遇到的问题是启动完成后“Your CD-ROM is drive %CDROM%”里的“%CDROM%”盘符显示不出,不知哪里有问题?请各位高手帮忙。
本着最精简最简单的原则,所需文件都已复制
oakcdrom.sys
btdosm.sys
flashpt.sys
btcdrom.sys
aspi2dos.sys
aspi8dos.sys
aspi4dos.sys
aspi8u2.sys
aspicd.sys
MSCDEX.EXE
CONFIG.SYS代码:
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z
复制代码
AUTOEXEC.BAT代码:
@ECHO OFF
path=a:\;%path%;%CDROM%:\
LH MSCDEX.EXE /D:mscd001 /L:%CDROM%
::If MSCDEX doesn't find a drive...
IF ERRORLEVEL 1 SET CDPROB=1
::
GOTO QUIT
:QUIT
IF "%CDPROB%"=="1" GOTO CDGONE
echo.
echo.
echo Your CD-ROM is drive %CDROM%
GOTO END
:CDGONE
echo.
echo.
echo Press CTRL+ALT+DELETE to restart your computer.
echo.
echo There may be a problem with your CD-ROM. Check to make
echo sure it is properly connected and restart your computer.
:END
rem clean up environment variables
set CDPROB=
set CDROM=
GOTO QUICK
:QUICK
复制代码
[
本帖最后由 2010feya 于 2010-9-7 00:24 编辑
]
欢迎光临 无忧启动论坛 (http://wuyou.net./)
Powered by Discuz! X3.3