home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / dos / exbatch.lzh / BACKUP.BAT next >
DOS Batch File  |  1984-05-25  |  2KB  |  83 lines

  1. type bat.com
  2. bat    **  Starting utility to backup BAT diskette  **
  3.  
  4. BAT * READ SERIAL NUMBER FROM PROGRAM HEADER
  5. bat -serial
  6. bat    readscrn %a %b %c          |* get the serial # from the screen
  7. bat    if %r = 1 goto -restart       |* restart if 1st time logo erased SN
  8. bat    if %c <> (C)opyright goto -serial |* loop until it's the proper line.
  9.  
  10. BAT * GIVE INTRO TO THIS BACKUP PROGRAM.
  11.  
  12. bat cls type YOUR PROGRAM SERIAL NUMBER IS %a
  13. bat begtype
  14.  
  15. Remember this serial number if you have
  16. specific questions or problems.
  17.  
  18. This program is user supported.  Private
  19. users may contribute ($30 suggested) if
  20. you feal this program is of value to
  21. you.  The $30 license fee (per system)
  22. is required for COMMERCIAL USERS if used
  23. in a place of business or incorporated
  24. into another product.
  25.  
  26. You may contact Seaware by writing
  27.     SEAWARE CORP.
  28.     P.O. BOX 1656
  29.     DELRAY BEACH, FL  33444
  30.  
  31. end
  32. bat inkey Press any key to continue . . .
  33.  
  34. bat * INTRODUCE FIRST SECTION OF BACKUP
  35.  
  36. bat cls begtype
  37. ════ Backup proceedure will follow ═══
  38.  
  39. To backup the program diskette supplied
  40. by Seaware, you must have a spare
  41. diskette with about 60,000 bytes of
  42. space remaining on it.    The program and
  43. all utilities will be copied to your
  44. diskette.
  45.  
  46. ON A DUAL DISKETTE SYSTEM:
  47.  
  48. Make sure the master supplied by Seaware
  49. is in drive A and your spare is in drive
  50. B.
  51.  
  52. ON A SINGLE DISKETTE SYSTEM:
  53.  
  54. Use the Seaware master as diskette A and
  55. your spare as diskette B. Follow the
  56. prompts suplied by DOS to switch
  57. diskettes.
  58.  
  59. end
  60. bat    read Continue? (Y/N) %a     |* get answer
  61. bat    %a = %a $ 1 1            |* isolate 1st char in case replied "yes"
  62. bat    if %a <> y exit
  63.  
  64. bat * STACK NECESSARY COPIES FOR DOS TO PICK UP.
  65.  
  66. bat    begstack
  67. rem    BACKUP PROCESS STARTING . . . .
  68.  
  69. copy    A:BAT.COM    B:
  70. copy    A:BATDOC.BAT    B:
  71. copy    A:BATDEMO.BAT    B:
  72. copy    A:BACKUP.BAT    B:
  73. copy    A:VCOPY.BAT    B:
  74. copy    A:EDIT.BAT    B:
  75. copy    A:TELE.BAT    B:
  76. copy    A:ERRATA    B:
  77.  
  78. rem    BACKUP PROCESS HAS COMPLETED . .
  79. end
  80. bat    exit
  81. bat -restart
  82. backup
  83.