home *** CD-ROM | disk | FTP | other *** search
- @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
-