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!
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!


