ECHO OFF                                                                                                                            
CLS                                                                                                                                 
REM ***********************************                                                                                             
REM BATCH FILE CREATED BY PROFITS                                                                                                   
REM USER = SUPERVISOR                                                                                                               
REM DATE = 07/11/14 TIME = 13:01:23                                                                                                 
REM ***********************************                                                                                             
ECHO INSERT FIRST DISKETTE IN DRIVE A:                                                                                              
PAUSE                                                                                                                               
PKZIP A:\MORTXMID T:\PROFITS\MORTXMID\*.XFR T:\PROFITS\MORTXMID\PYB*.FIL -&w                                                        
IF ERRORLEVEL 255 GOTO PKZIP_TER                                                                                                    
IF ERRORLEVEL 18 GOTO PKZIP_OPN                                                                                                     
IF ERRORLEVEL 12 GOTO PKZIP_NF                                                                                                      
IF ERRORLEVEL  1 GOTO PKZIP_ERR                                                                                                     
IF ERRORLEVEL 0 GOTO PKZIP_OK                                                                                                       
:PKZIP_OK                                                                                                                           
ECHO Backup Completed                                                                                                               
COPY T:\PROFITS\PKUNZIP.EXE A:\                                                                                                     
GOTO ALL_DONE                                                                                                                       
:PKZIP_NF                                                                                                                           
ECHO Backup Failed - No Files Found to Backup                                                                                       
GOTO FAILED                                                                                                                         
:PKZIP_OPN                                                                                                                          
ECHO Backup Failed - Could Not Open File                                                                                            
GOTO FAILED                                                                                                                         
:PKZIP_TER                                                                                                                          
ECHO Backup Failed - Terminated by User                                                                                             
GOTO FAILED                                                                                                                         
:PKZIP_ERR                                                                                                                          
ECHO PKZip Failed                                                                                                                   
GOTO FAILED                                                                                                                         
:FAILED                                                                                                                             
ECHO BACKUP  OF MORTXMID BY SUPERVISOR ON 07-11-14 @ 13:01 ** FAILED **  >>A:\BACKUP\BKUPLOG.TXT                                    
ECHO BACKUP  OF MORTXMID BY SUPERVISOR ON 07-11-14 @ 13:01 ** FAILED **  >>A:\PROFITS\BKUPLOG.TXT                                   
PAUSE                                                                                                                               
:ALL_DONE                                                                                                                           
