@echo off
REM ***Start Ghost
z:\ghost\ghost.exe -script=z:\script.txt
IF ERRORLEVEL 1 GOTO GHOSTPROBLEM
REM ** Add any commands required to run if Symantec Ghost
REM succeeds here**
GOTO END

GHOSTPROBLEM:
cls
ECHO. 
ECHO.
ECHO.
@ECHO ABORT ***********************************************************
@ECHO *                                                               * 
@ECHO * Ghost image installation process has been interrupted, and    * 
@ECHO * could not resume. Please reboot your system with the first    *
@ECHO * image CD in the CD tray.                                      *
@ECHO *                                                               *
@ECHO *****************************************************************
ECHO.
ECHO. 
GOTO END


END:
z:\
@echo.
@echo.
@echo Exit to DOS for the factory


