home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 January
/
VPR0101A.BIN
/
APP_DEMO
/
DI4DEMO
/
RESCUEME
/
OS2DOS
/
PQCVT2.BAT
< prev
next >
Wrap
DOS Batch File
|
2000-09-08
|
868b
|
28 lines
@ECHO OFF
REM PQCVT2.BAT -- Convert old image file to Drive Image image file
REM Arguments:
REM 1-File name of image file
REM Hard wired paths: Substitute your path specifications
REM ggg1-Ghost EXE path, ggg2-Old image file path,
REM ddd1-Drive Image EXE path, ddd2-New image file path,
REM 9999-Scratch Drive Number (1-first, 2-second, etc.)
REM
REM Remove the following GOTO line after editing the hard wired paths.
goto done
ECHO Processing image file %1.
if %1a==a goto error3
ggg1\GHOST.EXE -clone,mode=load,src=ggg2\%1,dst=9999 -sure -fx -quiet
if errorlevel 1 goto error1
ddd1\PQDI.EXE /cmd=store_all /img=ddd2\%1 /dsk=9999
if errorlevel 1 goto error2
goto done
:error1
ECHO Error during image RESTORATION.
goto done
:error2
ECHO Error during image CREATION.
goto done
:error3
ECHO Error missing image filename. --%1--
:done