Originally posted by sanchuan at 2009-1-10 02:36 PM:
The problem lies in the label in autoexec.bat. The correct label should be:
:auto
Not :
I'm sorry. I made a mistake in writing it. My other menus are written in the format of :dos. But it still doesn't work.
After reading the previous discussion, it was said that it must be in config.sys
Such as:
rem
Do I need to add variables here as well?
My config.sys menu is as follows:
-----------------------------------------------------------------------------------------------
DEVICE=confect.sys /m
rem
set alHead=6
set align=8,1
set alNote=6
set shortcut=a,1
set color=2,8,8,8
set default=1,30,8
set heading=
set heading= Common Maintenance Tools
set heading====================================
set heading=
set endnote=Use the ↑→↓ or ← keys to move the bright bar, or use keys like A, B, C... to select the main items
set endnote=Set (or clear) options with number keys or space bar, and press Enter key to confirm.
set confect=dos,DOS Toolbox;
rem
device=\soft\UMBPCI.SYS
rem
SHELL=command.com /P /E:640
DEVICE=a:\soft\HIMEM.SYS /TESTMEM:OFF
dos=NOAUTO,high,umb
files=80
stackshigh=9,256
lastdrive=z
buffers=20,8
numlock=on
-----------------------------------------------------------------------------------------------
autoexec.bat is as follows:
-----------------------------------------------------------------------------------------------
SET CONFIG=%CONFECT%
SET CONFECT=
set EXPAND=YES
a:\soft\xmsdsk 10240 x: /y >NUL
a:\soft\FINDRAMD.EXE >nul
path=a:\;a:\soft;x:\;x:\lan;x:\tmp >nul
md x:\Tmp >nul
md x:\soft >nul
set temp=x:\Tmp
set tmp=x:\Tmp
goto %confect%
:dos
call m.bat
goto exit
Still getting the prompt:
goto
label not found
[
Last edited by yjd on 2009-1-10 at 20:51 ]