Board logo

标题: 在DOS下,如何在执行AUTOEXEC时不显示“Label not found”? [打印本页]

作者: martin325     时间: 2006-2-27 22:19    标题: 在DOS下,如何在执行AUTOEXEC时不显示“Label not found”?
如题。

请高手赐教:)

作者: martin325     时间: 2006-2-28 04:20
自己找到原因了:
choice /c:AS/n/S/T:A,10
cls
if errorlevel 2 goto step
if errorlevel 1 goto restart
:restart
call test.bat
goto step
:step
echo It's all right
goto End

忘了在最后加上
加一个:End