home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / open / fndation.lzh / FULLBACK.BAT < prev    next >
DOS Batch File  |  1985-11-04  |  2KB  |  58 lines

  1. echo off
  2. cls
  3. c:
  4. cd\dos
  5. if ''=='%1' goto normal
  6. echo Okay! You're going to need to put your }} %1 {{ disk #1 into drive a:
  7. pause
  8. cls
  9. cd \%1
  10. backup c: a:
  11. if errorlevel 4 goto failure
  12. if errorlevel 3 goto you-stop
  13. goto end
  14. :normal
  15. type fullback.txt
  16. echo Are you FULLY prepared to continue?
  17. query
  18. cls
  19. if not errorlevel 1 goto end
  20. backup c:\ a:/s
  21. echo This pause is intended to let you see if there are any messages from DOS.
  22. pause
  23. cls
  24. if errorlevel 4 goto failure
  25. if errorlevel 3 goto you-stop
  26. if exist \dos\*.msg erase \dos\*.msg
  27. basica backup
  28. cls
  29. echo Hurray! judging from the lack of error messages from DOS, It worked properly!
  30. echo        Okay...  You're all done! Now, take all of your backup disks
  31. echo                and HIDE THEM UNDER THE BED!
  32. echo If you would like to find out how to PROPERLY restore the information
  33. echo from floppy disks to your hard disk, please call
  34. echo                            ***
  35. echo               Tony Lindsey  (619) 295-2922
  36. echo                            ***
  37. echo               If you try to do it all alone, 
  38. echo        I WILL PERSONALLY TAKE A FLYSWATTER TO YOU!
  39. pause
  40. goto end
  41. :you-stop
  42. echo Evidently you told the computer to stop by pressing Control-Break...
  43. echo   That's fine, but PLEASE do another backup as SOON as possible!
  44. rebeep
  45. goto end
  46. :failure
  47. echo WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! 
  48. echo Oh, no! This computer is acting up! The backing-up procedure is 
  49. echo            in desperate need of being re-run! 
  50. echo            Quick! Call Tony at (619) 295-2922!
  51. echo WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! 
  52. rebeep
  53. :end
  54. cls
  55. cd\dos
  56. type menu.txt
  57.  
  58.