Board logo

标题: 启动菜单已经有9项了,我想加上一个,但它显不出来 [打印本页]

作者: rodsgo     时间: 2006-11-30 09:37    标题: 启动菜单已经有9项了,我想加上一个,但它显不出来
原菜单是这样的

submenu=MSDOS, MSDOS 7.1 TOOLS
menuitem=GHOST, GHOST 8.3
menuitem=GDISK, GDISK 8.3
menuitem=DM957, DM 9.57
menuitem=PM805, PM 8.05
submenu=N2002, NU 2002
submenu=K2005, KV 2006
menuitem=HWINF, HWINFO 5.03
menuitem=HDDRE, HDDREG 1.51
menudefault=MSDOS,10
menucolor=7,0


menuitem=CDRO1, Chinese CD-ROM
menuitem=CDROM, Chinese CD-ROM
menuitem=SAFE2, English safe mode
menuitem=SAFE1, English safe mode
menuitem=SAFE3, English safe mode
menuitem=SAFE4, English safe mode
menuitem=SAFE5, Disk Geniuse 2.0
menudefault=CDRO1,10
menucolor=7,0


device=himem.sys /testmem:off
device=umbpci.sys
device=vide-cdd.sys /D:IDE-CD


device=himem.sys /testmem:off
device=emm386.exe noems
device=vide-cdd.sys /D:IDE-CD


device=himem.sys /testmem:off
device=umbpci.sys


device=himem.sys /testmem:off
device=emm386.exe noems


device=himem.sys /testmem:off
device=emm386.exe ram


device=himem.sys /testmem:off


device=himem.sys /testmem:off


device=himem.sys /testmem:off
device=VIDE-CDD.SYS /D:IDE-CD


device=himem.sys /testmem:off


device=himem.sys /testmem:off


device=himem.sys /testmem:off


menuitem=NUCN1, Chinese
menuitem=NUEN1, English
menudefault=NUCN1,10
menucolor=7,0


device=himem.sys /testmem:off


device=himem.sys /testmem:off


menuitem=KVSTD,Normal
menuitem=KVCDR,CD-ROM
menudefault=KVSTD,10
menucolor=7,0


device=himem.sys /testmem:off


device=himem.sys /testmem:off
device=vide-cdd.sys /d:ide-cd


device=himem.sys /testmem:off


device=himem.sys /testmem:off


files=10
buffers=30
dos=high,umb
lastdrive=z
shell=command.com /P /F /E:800


修改成如下:


submenu=MSDOS, MSDOS 7.1 TOOLS
menuitem=GHOST, GHOST 8.3
menuitem=GDISK, GDISK 8.3
menuitem=DM957, DM 9.57
menuitem=PM805, PM 8.05
submenu=N2002, NU 2002
submenu=K2005, KV 2006
menuitem=DRWEB, DRWEB
menuitem=HWINF, HWINFO 5.03
menuitem=HDDRE, HDDREG 1.51
menudefault=MSDOS,10
menucolor=7,0


menuitem=CDRO1, Chinese CD-ROM
menuitem=CDROM, Chinese CD-ROM
menuitem=SAFE2, English safe mode
menuitem=SAFE1, English safe mode
menuitem=SAFE3, English safe mode
menuitem=SAFE4, English safe mode
menuitem=SAFE5, Disk Geniuse 2.0
menudefault=CDRO1,10
menucolor=7,0


device=himem.sys /testmem:off
device=umbpci.sys
device=vide-cdd.sys /D:IDE-CD


device=himem.sys /testmem:off
device=emm386.exe noems
device=vide-cdd.sys /D:IDE-CD


device=himem.sys /testmem:off
device=umbpci.sys


device=himem.sys /testmem:off
device=emm386.exe noems


device=himem.sys /testmem:off
device=emm386.exe ram


device=himem.sys /testmem:off


device=himem.sys /testmem:off


device=himem.sys /testmem:off
device=VIDE-CDD.SYS /D:IDE-CD


device=himem.sys /testmem:off


device=himem.sys /testmem:off


device=himem.sys /testmem:off


menuitem=NUCN1, Chinese
menuitem=NUEN1, English
menudefault=NUCN1,10
menucolor=7,0


device=himem.sys /testmem:off


device=himem.sys /testmem:off


menuitem=KVSTD,Normal
menuitem=KVCDR,CD-ROM
menudefault=KVSTD,10
menucolor=7,0


device=himem.sys /testmem:off


device=himem.sys /testmem:off
device=vide-cdd.sys /d:ide-cd


device=himem.sys /testmem:off


device=himem.sys /testmem:off


device=himem.sys /testmem:off


files=10
buffers=30
dos=high,umb
lastdrive=z
shell=command.com /P /F /E:800


现在就是我加上的DRWEB选项显示不出来
AUTOEXEC.BAT里内容如下


@ECHO OFF
REM Super SOS DISK 2006.12.27 UD
REM http://doshome.com
REM
SET DIRCMD=/O:N
cls
xmsdsk 12000 x: /y >nul
copy command.com x:\ >nul
path=x:\
set comspec=x:\command.com
set verx=u
set ghox=gho1
set ghoy=SSD
set ghod=1
set ghoi=~1\C_PAN.GHO

IF "%config%"=="MSDOS" GOTO MSDOS
IF "%config%"=="GHOST" GOTO GHOST
IF "%config%"=="GDISK" GOTO GDISK
IF "%config%"=="DM957" GOTO DM957
IF "%config%"=="PM805" GOTO PM805
IF "%config%"=="N2002" GOTO N2002
IF "%config%"=="NUCN1" GOTO N2002
IF "%config%"=="NUCN2" GOTO N2002
IF "%config%"=="NUEN1" GOTO N2002
IF "%config%"=="NUEN2" GOTO N2002
IF "%config%"=="K2006" GOTO K2006
IF "%config%"=="KVSTD" GOTO K2006
IF "%config%"=="KVCDR" GOTO K2006
IF "%config%"=="HWINF" GOTO HWINF
IF "%config%"=="HDDRE" GOTO HDDRE
IF "%config%"=="DRWEB" GOTO DRWEB
GOTO MSDOS


:MSDOS
REM ----MSDOS 7.1 TOOLS----
:ERROR1
IF EXIST dostools.ex_ GOTO EXT1
echo ERROR: dostools.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT1
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
vol >x:\vol.txt
copy dostools.ex_ x:\dostools.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y dostools.arj >nul
del dostools.arj >nul
doskey >nul
cls
echo.
IF "%config%"=="CDROM" GOTO CD1
IF "%config%"=="CDRO1" GOTO CD1
IF "%config%"=="SAFE1" GOTO SAFE
IF "%config%"=="SAFE2" GOTO SAFE
IF "%config%"=="SAFE3" GOTO SAFE
IF "%config%"=="SAFE4" GOTO SAFE
IF "%config%"=="SAFE5" GOTO SAF5

:NO_CD1
cls
usb-hdd.bat
goto quit

:CD1
Shsucdx /D:IDE-CD /QQ
cls
usb-hdd.bat
goto quit

:SAFE
cls
usb-en.bat
goto quit

:SAF5
cls
usb-dg.bat
goto quit


:GHOST
REM ----GHOST 8.3----
:ERROR2
IF EXIST ghost83.ex_ GOTO EXT2
echo ERROR: ghost83.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT2
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
vol >x:\vol.txt
copy ghost83.ex_ x:\ghost83.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y ghost83.arj >nul
del ghost83.arj >nul
doskey >nul
Shsucdx /D:IDE-CD /QQ
cls
usb-hdd.bat
goto quit


:GDISK
REM ----GDISK 8.3----
:ERROR3
IF EXIST gdisk83.ex_ GOTO EXT3
echo ERROR: gdisk83.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT3
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
vol >x:\vol.txt
copy gdisk83.ex_ x:\gdisk83.zip >nul
copy unzip.exe x:\ >nul
x:
cd\
unzip -d gdisk83.zip >nul
del gdisk83.zip >nul
doskey >nul
cls
usb-hdd.bat
goto quit


:DM957
REM ----DM 9.57----
:ERROR4
IF EXIST dm957.ex_ GOTO EXT4
echo ERROR: dm957.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT4
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
vol >x:\vol.txt
copy dm957.ex_ x:\dm957.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y dm957.arj >nul
del dm957.arj >nul
cls
usb-hdd.bat
goto quit


:PM805
REM ----PM 8.05----
:ERROR5
IF EXIST pm805.ex_ GOTO EXT5
echo ERROR: pm805.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT5
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
copy pm805.ex_ x:\pm805.zip >nul
copy unzip.exe x:\ >nul
vol >x:\vol.txt
x:
cd\
unzip -d pm805.zip >nul
del pm805.zip >nul
doskey >nul
cls
usb-hdd.bat
goto quit


:N2002
REM ----NU 2002----
:ERROR6
IF EXIST nu2002.ex_ GOTO EXT6
echo ERROR: nu2002.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT6
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
copy nu2002.ex_ x:\nu2002.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y nu2002.arj >nul
del nu2002.arj >nul
doskey >nul
cls

IF "%config%"=="NUEN1" GOTO NUEN
IF "%config%"=="NUCN1" GOTO NUCN


:NUCN
cls
m.bat
goto quit

:NUEN
cls
m0.bat
goto quit


:K2006
REM ----KVDOS 2006----
:ERROR7
IF EXIST kv2006.ex_ GOTO EXT7
echo ERROR: kv2006.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT7
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
copy kv2006.ex_ x:\kv2006.zip >nul
copy unzip.exe x:\ >nul
x:
cd\
unzip -d kv2006.zip >nul
del kv2006.zip >nul

if "%config%"=="CDR" goto CDR1

m.bat
goto quit

:CDR1
SHSUCDX /D:IDE-CD /QQ
m.bat
goto quit


:HWINF
REM ----HWINFO 5.03----
:ERROR8
IF EXIST hwinfo.ex_ GOTO EXT8
echo ERROR: hwinfo.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT8
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
copy hwinfo.ex_ x:\hwinfo.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y hwinfo.arj >nul
del hwinfo.arj >nul
cls
m.bat
goto quit


:HDDRE
REM ----HDDREG 1.51c----
:ERROR9
IF EXIST hddreg15.ex_ GOTO EXT9
echo ERROR: hddreg15.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT9
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
copy hddreg15.ex_ x:\hddreg15.zip >nul
copy unzip.exe x:\ >nul
copy hddreg.exe X:\ > NUL
copy dsck.tr X:\ > NUL
x:
cd\
unzip -d hddreg15.zip >nul
del hddreg15.zip >nul
cls
m.bat

GOTO QUIT

:DRWEB
REM ----DM 9.57----
:ERROR4
IF EXIST drweb.ex_ GOTO EXT10
echo ERROR: drweb.ex_ not found.
echo SORRY: Be will not use the disk.
echo.
GOTO QUIT

:EXT10
cls
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
copy drweb.ex_ x:\drweb.arj >nul
copy arj.exe x:\ >nul
x:
cd\
arj x -y drweb.arj >nul
del drweb.arj >nul
cls
x:
drweb386.exe
goto quit

作者: ggjankecj     时间: 2006-11-30 10:37
好无聊

作者: rodsgo     时间: 2006-11-30 12:15
应该是显示的出来,但是却是少了HDDRE

作者: DOSforever     时间: 2006-12-1 07:07
应该是不显示的出来,config.sys 的菜单项不能超过9个,至少 MS-DOS 是如此。

作者: Michael     时间: 2006-12-1 07:25
好像可以有二级菜单的。曾经有过讨论。

作者: DOSforever     时间: 2006-12-1 07:28
submenu 应该就已经是二级菜单了吧

作者: rodsgo     时间: 2006-12-1 13:11
谢谢各位,是有二级菜单的,我已经找到方法了

作者: pppmmh     时间: 2006-12-1 15:03
Originally posted by ggjankecj at 2006-11-29 09:37 PM:
好无聊

真的是很无聊也

;);)
现在DOS除GHOST和进个PQ什么的简直就没什么用,搞不懂弄那些个菜单是SHOW给谁看的
;);)

顺便鄙视一下矮人,搞不懂弄那么多菜单是不是有病???

,要按N多个键才能进提示符,简直就是在浪费生命!!!

我弄了个IMG文件,压了个ZIP,130K,里面的CONFIG.SYS只有一行

简单就是幸福

再顺便鄙视一下LINUX和自以为是高手的高手,有本事自己做个系统来哈,玩人家的东西寒碜不寒碜

作者: lxmxn     时间: 2006-12-2 03:59
Originally posted by pppmmh at 2006-12-1 15:03:

真的是很无聊也

;);)
现在DOS除GHOST和进个PQ什么的简直就没什么用,搞不懂弄那些个菜单是SHOW给谁看的
;);)

顺便鄙视一下矮人,搞不懂弄那么多菜 ...


  强~~顶了~