home *** CD-ROM | disk | FTP | other *** search
/ Shareware Gold 1 / The_Golden_ROM_Series_-_Shareware_Gold_Volume_1_Number_11_-_SK_89-301_-_1989.iso / BBS / LIB003.ARC / GO.BAT next >
DOS Batch File  |  1988-10-17  |  5KB  |  132 lines

  1. ECHO OFF
  2. CLS
  3. ECHO             Disk One of Two disk Installation Program
  4. ECHO     This disk should be first, followed by 'GO2' on the second disk.
  5. PAUSE
  6. ECHO          [Ignore all 'Syntax Error' messages at this screen, if any]
  7. IF %1==F GOTO FLOPINS
  8. IF %1==f GOTO FLOPINS
  9. IF %1==H GOTO HARDINS
  10. IF %1==h GOTO HARDINS
  11. CLS
  12. :FEATURES
  13. CLS
  14. ECHO              INSTRUCTIONS FOR INSTALLING SERVICE PLUS [TM]
  15. ECHO                       Everything contained in two disks:
  16. ECHO                              -
  17. ECHO            To install this from a 2 floppy drive system,
  18. ECHO                     enter 'GO F 1' from drive B:.
  19. ECHO                       if using 360KB floppy drives
  20. ECHO         [your floppy drives each have a capacity of 360,000 characters]
  21. ECHO                             or
  22. ECHO                     enter 'GO F 2' from drive B:.
  23. ECHO                       if using floppy drives GREATER than 360KB 
  24. ECHO                              -
  25. ECHO For any hard drive, enter 'GO H', followed by the letter of your drive.
  26. ECHO If your hard drive is C, enter 'GO H C'.
  27. ECHO If, for example, you are installing onto a network drive I, enter 'GO H I'
  28. ECHO You must have a drive designator following 'H'.
  29. ECHO -
  30. ECHO Also, one space follows 'GO' and another space follows 'H'.
  31. ECHO [do not enter 'GO H C:', only 'GO H C'  {no colons following the drive}]
  32. ECHO [Note: program requires 640 KB memory.]   
  33. PAUSE
  34. GOTO END
  35. :FLOPINS
  36. ECHO OFF
  37. CLS
  38. ECHO           INSTRUCTIONS FOR INSTALLING  SERVICE PLUS [TM]
  39. ECHO         Create three ready-to-run disks (execute from drive B:)
  40. ECHO  Label three disks as follows:
  41. ECHO            Disk 1:  MAINT-A   {--- This is the 'HELP' disk
  42. ECHO            Disk 2:  MAINT-B   {--- This is the 'PROGRAM' disk.
  43. ECHO                                    Contains SERVICE.EXE 
  44. ECHO            Disk 3:  SERVICE.DOC  {--- This is the Tutorial 
  45. ECHO                                   -
  46. ECHO  Disk  1  should be formatted as a 'bootable' disk, with this command:   
  47. ECHO                                   FORMAT A:/S
  48. ECHO                                   -
  49. ECHO  To verify if your disk is 'bootable', check for the existence of a file 
  50. ECHO  named  'COMMAND.COM'.   The format instruction above should have placed 
  51. ECHO  this file onto your 'bootable disk'.  The other 2 disks will be formatted
  52. ECHO  with the standard format command:  FORMAT A:
  53. ECHO  If you want to stop this procedure now to format the 3 disks, enter 
  54. ECHO  CONTROL-C.  Enter any other key to continue.
  55. PAUSE   
  56. CLS   
  57. IF %2==1 GOTO FLOPINS1
  58. IF %2==2 GOTO FLOPINS2
  59. CLS
  60. ECHO  This floppy installation requires that you enter either a '1' or a '2', 
  61. ECHO  following your 'GO F' instruction.
  62. GOTO END
  63. :FLOPINS2
  64. ECHO  Enter disk 1, MAINT-A, into drive A now.
  65. PAUSE 
  66. A:     
  67. B:PKXARC -R B:MAINTA26.ARC
  68. CLS   
  69. ECHO  Enter disk 2, MAINT-B, into drive A now.
  70. PAUSE 
  71. A:     
  72. B:PKXARC -R B:MAINTB26.ARC
  73. B:
  74. CLS   
  75. ECHO  Insert 'Disk 2' with GO2 into drive B now.
  76. ECHO  Then execute 'GO2 F 2' 
  77. GOTO END
  78. :FLOPINS1
  79. ECHO  Enter disk 1, MAINT-A, into drive A now.
  80. ECHO  [MAINT-A should be newly formatted, with nothing on it EXCEPT COMMAND.COM]
  81. ECHO  [Since you are using low capacity disks, most '.DOC' files have been deleted.]
  82. ECHO  [These are your on-line Help screens.]
  83. ECHO  Since DOS 2.X series uses about 40K less than DOS 3.X, use that if possible]
  84. PAUSE 
  85. A:     
  86. B:PKXARC -R B:MAINTA26.ARC FOREIGN.DOC
  87. B:PKXARC -R B:MAINTA26.ARC NATIVE.DOC
  88. B:PKXARC -R B:MAINTA26.ARC FSPACE.DOC
  89. B:PKXARC -R B:MAINTA26.ARC *.DBF
  90. B:PKXARC -R B:MAINTA26.ARC *.DBT
  91. B:PKXARC -R B:MAINTA26.ARC *.COM
  92. B:PKXARC -R B:MAINTA26.ARC *.OVL
  93. B:PKXARC -R B:MAINTA26.ARC *.FRM
  94. CLS
  95. ECHO  Enter disk 2, MAINT-B, into drive A now.
  96. PAUSE 
  97. A:     
  98. B:PKXARC -R B:MAINTB26.ARC
  99. B:
  100. CLS   
  101. ECHO  Insert 'Disk 2' with GO2 into drive B now.
  102. ECHO  Then execute 'GO2 F 1'   
  103. GOTO END
  104. :HARDINS
  105. ECHO OFF
  106. CLS
  107. ECHO           INSTRUCTIONS FOR INSTALLING  SERVICE PLUS [TM]
  108. ECHO                                   -
  109. ECHO  This procedure will install all files onto your hard disk, drive %2
  110. ECHO  It will create a subdirectory, \SERVICE, and split out or unarchive
  111. ECHO  all the files it needs from this single disk on drive A.
  112. PAUSE
  113. CLS
  114. %2:
  115. CD \
  116. MKDIR SERVICE
  117. CD SERVICE
  118. COPY A:PKXARC.COM
  119. COPY A:MAINTA26.ARC
  120. PKXARC -R MAINTA26.ARC
  121. DEL MAINTA26.ARC
  122. COPY A:MAINTB26.ARC
  123. PKXARC -R MAINTB26.ARC
  124. DEL MAINTB26.ARC
  125. A:
  126. CLS
  127. ECHO  Insert second disk now into drive A.
  128. ECHO  Execute GO2 %1 %2 from that second disk.   
  129. GOTO END
  130. :END
  131. ECHO                                   -
  132.