[求助]如何制作这样带菜单的IMG?
[这个贴子最后由xzf在 2005/05/31 11:56am 第 1 次编辑]
config.sys下
[menu]
menuitem=CDROM, From DISK up run DOS union hang CD-ROM
menuitem=NOPQ8, From CDROM up run Partition Magic 8.0 English
menuitem=NODM1, From DISK up run DM956 Chinese & English
menudefault=CD,20
menucolor=7,1
[CDROM]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
devicehigh=ramdrive.sys /E 8192
[NOPQ8]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
devicehigh=ramdrive.sys /E 8192
[NODM1]
rem lastdrive=g
device=himem.sys
rem device=interlnk.exe /auto /drives=5
device=vide-111.sys /d:mscd000
files=30
autoexec.bat下
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
if %config% == CDROM goto CDROM1
if %config% == NOPQ8 goto CDROM2
if %config% == NODM1 goto CDROM3
goto FAILED
:CDROM1
LH \MSCDEX.EXE /D:mscd001 /L:%CDROM%
SMARTDRV.EXE
goto exit
:CDROM2
LH \MSCDEX.EXE /D:mscd001 /L:%CDROM%
IF NOT EXIST %CDROM%:\PQ8\PQMAGIC.EXE
SMARTDRV.EXE
%CDROM%:
CD \PQ8
PQMAGIC
goto exit
:CDROM3
rem mscdex /d:mscd000 /l:G
mscdex /d:mscd000 /l:x
ver
tw /np > nul
dm.bat
我的论坛,欢迎网友前去看看,现设立了电脑系统维护,光盘启动,光盘刻录等技术交流论坛 http://www.jkjs.cn本人水平有限,请个位多多关照。朋友,如果你碰到困惑,忧虑,烦恼的时候,耶稣说,凡劳苦担重担的人,可以到我这里来,神爱世人,叫一切信他的,不至灭亡,反得永生。