China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-13 04:53
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Question about a DOS command in a boot disk View 1,004 Replies 2
Original Poster Posted 2003-11-02 00:00 ·  中国 陕西 西安 电信
初级用户
Credits 107
Posts 2
Joined 2003-10-26 00:00
22-year member
UID 11957
Gender Male
Status Offline
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!
Floor 2 Posted 2003-11-02 00:00 ·  中国 河南 信阳 联通
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Hehe... does the boot disk even have this command?
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 3 Posted 2003-11-08 00:00 ·  中国 广东 惠州 电信
初级用户
Credits 105
Posts 1
Joined 2003-11-07 00:00
22-year member
UID 12576
Gender Male
Status Offline
Where can I download it?
Forum Jump: