中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-10-28 02:25
共 47,815 主题排行 / 349,929 发帖 / 今日 1 篇 / 48,290 会员排行
DOS启动盘 & LOGO技术 (启动盘室) » 如何在掉入主菜单后,等待10秒,没按键就goto _ghostfull
可打印版本  985 / 2
第1楼 newice 发表于 2006-03-30 19:04
初级用户 发帖 24 积分 70
如何在掉入主菜单后,等待10秒,没按键就goto _ghostfull
如何在掉入主菜单后,等待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 ]
第2楼 floor 发表于 2006-03-31 02:09
初级用户 发帖 82 积分 185
@echo off
:_top
rem 改动下面一句即可
call w.bat box @menu.BAT:sc_1 #1,10
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
[1. 全盘还原 ]
[2. 还原到 C 盘 ]
[3. 手动GHOST ]
[4. 备份客户机 C 盘 ]
[5. 备份客户机 全盘 ]
第3楼 newice 发表于 2006-03-31 02:23
初级用户 发帖 24 积分 70
谢谢朋友
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023