home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / aimscm21.zip / BACKUP.BAT < prev    next >
DOS Batch File  |  1996-04-29  |  1KB  |  36 lines

  1. rem ┌───────────────────────────────────────────────────────────────────────┐
  2. rem │ This File is called by the AIMS program to backup the AIMS files to   │
  3. rem │ floppy drive. The commands in this file can be modifies to use other  │
  4. rem │ backup commands such as PKZIP(tm) or ARJ(tm).                         │
  5. rem └───────────────────────────────────────────────────────────────────────┘
  6. echo  Starting the Backup of the AIMS files...
  7. echo  Starting the Backup of the AIMS files... >> backup.log
  8. backup *.* a: /s
  9. if errorlevel 4 goto error
  10. if errorlevel 3 goto abort
  11. if errorlevel 2 goto conflict
  12. if errorlevel 1 goto no_files
  13. if errorlevel 0 goto sucess
  14. :error
  15. echo Backup Stopped the process due to an error.
  16. echo Backup Stopped the process due to an error. >> backup.log
  17. goto exit
  18. :abort
  19. echo Backup Aborted by User.
  20. echo Backup Aborted by User. >> backup.log
  21. goto exit
  22. :conflict
  23. echo One or more files were not backup up due to sharing conflict
  24. echo One or more files were not backup up due to sharing conflict. >> backup.log
  25. goto exit
  26. :no_files
  27. echo No Files to be Backed up.
  28. echo No Files to be Backed up. >> backup.log
  29. goto exit
  30. :success
  31. echo Backup Completed Successfully.
  32. echo Backup Completed Successfully. >> backup.log
  33. goto exit
  34. :exit
  35. echo  >> backup.log
  36.