中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » 启动菜单已经有9项了,我想加上一个,但它显不出来
作者:
标题: 启动菜单已经有9项了,我想加上一个,但它显不出来 上一主题 | 下一主题
rodsgo
新手上路





积分 14
发帖 6
注册 2006-11-20
状态 离线
『楼 主』:  启动菜单已经有9项了,我想加上一个,但它显不出来

原菜单是这样的
[menu]
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

[MSDOS]
menuitem=CDRO1, Chinese CD-ROM    [HIMEM + UMBPCI      ]
menuitem=CDROM, Chinese CD-ROM    [HIMEM + EMM386 NOEMS]
menuitem=SAFE2, English safe mode [HIMEM + UMBPCI      ]
menuitem=SAFE1, English safe mode [HIMEM + EMM386 NOEMS]
menuitem=SAFE3, English safe mode [HIMEM + EMM386 RAM  ]
menuitem=SAFE4, English safe mode [HIMEM               ]
menuitem=SAFE5, Disk Geniuse 2.0
menudefault=CDRO1,10
menucolor=7,0

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

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

[SAFE2]
device=himem.sys /testmem:off
device=umbpci.sys

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

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

[SAFE4]
device=himem.sys /testmem:off

[SAFE5]
device=himem.sys /testmem:off

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

[GDISK]
device=himem.sys /testmem:off

[DM957]
device=himem.sys /testmem:off

[PM805]
device=himem.sys /testmem:off

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

[NUCN1]
device=himem.sys /testmem:off

[NUEN1]
device=himem.sys /testmem:off

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

[KVSTD]
device=himem.sys /testmem:off

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

[HWINF]
device=himem.sys /testmem:off

[HDDRE]
device=himem.sys /testmem:off

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


修改成如下:

[menu]
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

[MSDOS]
menuitem=CDRO1, Chinese CD-ROM    [HIMEM + UMBPCI      ]
menuitem=CDROM, Chinese CD-ROM    [HIMEM + EMM386 NOEMS]
menuitem=SAFE2, English safe mode [HIMEM + UMBPCI      ]
menuitem=SAFE1, English safe mode [HIMEM + EMM386 NOEMS]
menuitem=SAFE3, English safe mode [HIMEM + EMM386 RAM  ]
menuitem=SAFE4, English safe mode [HIMEM               ]
menuitem=SAFE5, Disk Geniuse 2.0
menudefault=CDRO1,10
menucolor=7,0

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

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

[SAFE2]
device=himem.sys /testmem:off
device=umbpci.sys

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

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

[SAFE4]
device=himem.sys /testmem:off

[SAFE5]
device=himem.sys /testmem:off

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

[GDISK]
device=himem.sys /testmem:off

[DM957]
device=himem.sys /testmem:off

[PM805]
device=himem.sys /testmem:off

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

[NUCN1]
device=himem.sys /testmem:off

[NUEN1]
device=himem.sys /testmem:off

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

[KVSTD]
device=himem.sys /testmem:off

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

[HWINF]
device=himem.sys /testmem:off

[HDDRE]
device=himem.sys /testmem:off

[DRWEB]
device=himem.sys /testmem:off

[COMMON]
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

2006-11-30 09:37
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
ggjankecj
新手上路





积分 16
发帖 7
注册 2006-11-17
状态 离线
『第 2 楼』:  

好无聊

2006-11-30 10:37
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
rodsgo
新手上路





积分 14
发帖 6
注册 2006-11-20
状态 离线
『第 3 楼』:  

应该是显示的出来,但是却是少了HDDRE

2006-11-30 12:15
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
DOSforever
金牌会员





积分 4639
发帖 2239
注册 2005-1-30
状态 离线
『第 4 楼』:  

应该是不显示的出来,config.sys 的菜单项不能超过9个,至少 MS-DOS 是如此。



DOS倒下了,但永远不死
DOS NEVER DIES !

投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187

本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747
2006-12-1 07:07
查看资料  发短消息 网志   编辑帖子  回复  引用回复
Michael
钻石会员





积分 10046
发帖 3039
注册 2002-11-11
状态 离线
『第 5 楼』:  

好像可以有二级菜单的。曾经有过讨论。



简单就是美
2006-12-1 07:25
查看资料  发短消息 网志   编辑帖子  回复  引用回复
DOSforever
金牌会员





积分 4639
发帖 2239
注册 2005-1-30
状态 离线
『第 6 楼』:  

submenu 应该就已经是二级菜单了吧



DOS倒下了,但永远不死
DOS NEVER DIES !

投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187

本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747
2006-12-1 07:28
查看资料  发短消息 网志   编辑帖子  回复  引用回复
rodsgo
新手上路





积分 14
发帖 6
注册 2006-11-20
状态 离线
『第 7 楼』:  

谢谢各位,是有二级菜单的,我已经找到方法了

2006-12-1 13:11
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
pppmmh
初级用户





积分 22
发帖 9
注册 2006-11-26
状态 离线
『第 8 楼』:  



  Quote:
Originally posted by ggjankecj at 2006-11-29 09:37 PM:
好无聊

真的是很无聊也

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

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

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

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

简单就是幸福

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

2006-12-1 15:03
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
lxmxn
版主




积分 11386
发帖 4938
注册 2006-7-23
状态 离线
『第 9 楼』:  



  Quote:
Originally posted by pppmmh at 2006-12-1 15:03:

真的是很无聊也

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

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


  强~~顶了~


2006-12-2 03:59
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: