中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 01:59
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Question about a DOS command in a boot disk
Printable Version  1,003 / 2
Floor1 suye66 Posted 2003-11-02 00:00
初级用户 Posts 2 Credits 107
I used the choice command in the boot disk's bat file, but it won't run.
What should I do? Please help me!
The bat is written like this:
@echo off
echo 1. Boot to DOS
echo 2. Back up the system
echo 3. Restore the system
choice /c:123 /n /t:1,60 Please choose:
if errorlevel 3 goto RESTORE
if errorlevel 2 goto BACKUP
if errorlevel 1 goto DOS
:RESTORE
rem use ghost8.0 to restore the system to drive C
echo Start restoring?
pause
d:\ghost\ghost -clone,mode=pload,src=c:\ghost\winxp.gho:1,dst=1:1 -sure -fx
goto DOS
:BACKUP
rem use ghost8.0 to back up the system on drive C
echo Start backup?
pause
d:\ghost\ghost -clone,mode=pdump,src=1:1,dst=d:\backup\winxp.gho -z9 -sure -fx
goto DOS
:dos
echo good bye!
Floor2 如是大师 Posted 2003-11-02 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Hehe... does the boot disk even have this command?
Floor3 ejeter Posted 2003-11-08 00:00
初级用户 Posts 1 Credits 105
Where can I download it?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023