如何在掉入主菜单后,等待10秒,没按键就goto _ghostfull
@echo off
:_top
call w.bat box @menu.BAT:sc_1
if errorlevel 100 goto _dos
if "%?%" == "1" goto _ghostfull
if "%?%" == "2" goto _ghostc
if "%?%" == "3" goto _ghost
if "%?%" == "4" goto _ghostbakc
if "%?%" == "5" goto _ghostbakfull
goto sc1
:sc_1
::
:sc1
goto _end
:_ghostfull
ghost -clone,mode=restore,src=@MCICE,dst=1 -sure -rb
goto _TOP
:_ghostc
ghost -clone,mode=prestore,src=@MCICE,dst=1:1 -sure -rb
goto _TOP
:_ghost
ghost -rb
goto _TOP
:_ghostbakc
ghost -clone,dst=@MCICE,src=1:1 -sure -rb
goto _TOP
:_ghostbakfull
ghost -clone,dst=@MCICE,src=1 -sure -rb
goto _TOP
:_dos
cls
a:
:_end
[ Last edited by newice on 2006-3-30 at 19:07 ]
@echo off
:_top
call w.bat box @menu.BAT:sc_1
if errorlevel 100 goto _dos
if "%?%" == "1" goto _ghostfull
if "%?%" == "2" goto _ghostc
if "%?%" == "3" goto _ghost
if "%?%" == "4" goto _ghostbakc
if "%?%" == "5" goto _ghostbakfull
goto sc1
:sc_1
::
:sc1
goto _end
:_ghostfull
ghost -clone,mode=restore,src=@MCICE,dst=1 -sure -rb
goto _TOP
:_ghostc
ghost -clone,mode=prestore,src=@MCICE,dst=1:1 -sure -rb
goto _TOP
:_ghost
ghost -rb
goto _TOP
:_ghostbakc
ghost -clone,dst=@MCICE,src=1:1 -sure -rb
goto _TOP
:_ghostbakfull
ghost -clone,dst=@MCICE,src=1 -sure -rb
goto _TOP
:_dos
cls
a:
:_end
[ Last edited by newice on 2006-3-30 at 19:07 ]
