中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-08-13 07:21
47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行
DOS学习入门 & 精彩文章 (教学室) » [求助]本人想作一个有应答的启动盘,请赐教....
可打印版本  579 / 4
第1楼 xiaoyuan0417 发表于 2004-02-08 00:00
初级用户 发帖 3 积分 119
[求助]本人想作一个有应答的启动盘,请赐教....
本人想在启动盘的 autoexec.bat 中设置如下应答:

====================
Press 1 to restoring the System Disk with Ghost
Press 2 to rebooting the System
====================

出现上述应答之后,如果选择1,启动 Ghost 恢复系统,完成后再出现以下应答:

====================
Press 1 to restoring the Program Disk with Ghost
Press 2 to rebooting the System
====================


如何实现上述应答,请高手赐教
第2楼 gmy 发表于 2004-02-08 00:00
版主 发帖 392 积分 1,113
建议使用WBAT(批处理增强工具)
第3楼 gaojie 发表于 2004-02-09 00:00
中级用户 发帖 31 积分 224
choice
第4楼 SNOWOLF 发表于 2004-02-09 00:00
中级用户 发帖 88 积分 483
在 CONFIG。SYS 文件 和 AUTOEXEC。BAT 文件中编写

===========================
config.sys
----------------------

menuitem=1,Press 1 to restoring the System Disk with Ghost
menuitem=2,Press 2 to rebooting the System





----------------------------------------------------

autoexec.bat
--------------------------
@echo off

if %config%==1 goto 1
if %config%==2 goto 2

:1
ghost
goto end

:2
restart.com
goto end

:end
====================

有疑问可以找我聊 QQ:170759292
第5楼 MYS 发表于 2004-02-10 00:00
元老会员 发帖 1,637 积分 5,170 来自 广东佛山
用NU工具中的BE也可以
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023