vel770
新手上路
积分 4
发帖 1
注册 2015-12-22
状态 离线
|
『楼 主』:
请教CONFIG中文菜单配置Confect.sys无法执行指定模块的问题
原代码如下:
device=confect.sys /m a:\HZK16
; [SETTINGS]
set alHead=6
set align=10,1
set alNote=6
set shortcut=a,1
set color=14,0,9,2
set default=1,10,9
set heading=
set heading= 请选择启动模式
set heading=======================================
set heading=======================================
set endnote=请使用↑↓或相应字母选择菜单项,回车执行.
set confect=M1,启动:U盘通用驱动模式,不加载光驱
set confect=M2,启动:U盘通用驱动模式,加载光驱
set confect=M3,启动:USB设备的EHCI驱动模式,加载光驱
set confect=M4,启动:USB设备的OHCI驱动模式,加载光驱
set confect=M5,启动:USB设备的UHCI驱动模式,加载光驱
set confect=M6,启动:UMBPCI主板的驱动模式,不加载光驱
set confect=M7,启动:UMBPCI主板的驱动模式,不加载光驱
set confect=M8,阅读帮助文档
; [M1]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
; [M2]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE
; [M3]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
devicehigh=usbaspi.sys /e /v /norst
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE
; [M4]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
devicehigh=usbaspi.sys /o /v /norst
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE
; [M5]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g USB /d/r/i/v/e/s /s/u/p/p/o/r/t...
devicehigh=usbaspi.sys /u /v /norst
DEVICE=USBASPI.SYS /R
DEVICEHIGH=DI1000DD.SYS
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=ASPIOHCI.SYS /INT /ALL
DEVICE=ASPIUHCI.SYS /INT /ALL
DEVICE=ASPIEHCI.SYS /INT /ALL
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE
; [M6]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h UMBPCI...
DEVICE=UMBPCI.SYS
DEVICE=LOWDMA.SYS
DEVICE=HIRAM.EXE
DEVICEHIGH=HIMEM.SYS
; [M7]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h EMM386...
DEVICE=HIMEM.SYS /testmemff
DEVICE=EMM386.EXE NOEMS
DEVICE=ECHO.SYS
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS /w/i/t/h UMBPCI...
DEVICE=UMBPCI.SYS
DEVICE=LOWDMA.SYS
DEVICE=HIRAM.EXE
DEVICEHIGH=HIMEM.SYS
DEVICEHIGH=VIDE-CDD.SYS /D:IDE-CD
DEVICEHIGH=ASPICD.SYS /D:SCSI-CD
DEVICEHIGH=CLOAKING.EXE
; [M8]
device=ECHO.SYS P/l/e/a/s/e /w/a/i/t...
device=HIMEM.SYS
INCLUDE M2
; [CONFIG]
device=himem.sys /testmemff
device=emm386.sys noems
SHELL=A:\COMMAND.COM /P /E:640
SET TMP=C:\
SET TEMP=C:\
DOS=HIGH,UMB,AUTO
NUMLOCK=OFF
FCBSHIGH=4,0
FILESHIGH=30
BUFFERSHIGH=30,0
LASTDRIVEHIGH=32
STACKSHIGH=9,256
上面的代码执行后,能显示中文,但是无法执行选中的代码。比如说,默认运行M1第一项的,执行到; [M1] 下面的代码无法执行,直接跳到autoexec.bat执行了。我想要的结果的,无论选择哪项,能执行完对应模块中的代码后,再运行autoexec.bat。希望高手能帮忙解决
|
|