home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF201.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-12-27  |  7KB  |  187 lines

  1. echo off
  2. cls
  3. echo   
  4. echo  
  5. echo   ████████████████████████████████████████████████████████████████████████████
  6. echo   ██                                                                        ██
  7. echo   ██                                                                        ██
  8. echo   ██     Welcome to the FreeBooter(tm) Software automatic installation      ██
  9. echo   ██     program.  This program will automatically make a directory on      ██
  10. echo   ██     your hard disk, or if you have a 3½" drive or a  high density      ██
  11. echo   ██     5¼" drive it will install it on floppy drive.                      ██
  12. echo   ██                                                                        ██
  13. echo   ██     This new technology is another way that FreeBooter (tm) Soft-      ██
  14. echo   ██     ware makes shareware more user friendly, and insures that ex-      ██
  15. echo   ██     tra margin of value that sets it apart from other shareware        ██
  16. echo   ██     dealers, and enhances your purchase.                               ██
  17. echo   ██                                                                        ██
  18. echo   ██     We sincerely appreciate your support.                              ██
  19. echo   ██                                                                        ██
  20. echo   ██     Enter Control Break if you wish to abort this installation.        ██
  21. echo   ██                                                                        ██
  22. echo   ██                                                                        ██
  23. echo   ██                                                                        ██
  24. echo   ████████████████████████████████████████████████████████████████████████████
  25. echo  
  26. pause
  27. cls
  28. if %1x==x goto syntax
  29. if "%1"=="A" goto place3
  30. if "%1"=="a" goto place3
  31. if "%1"=="B" goto place3
  32. if "%1"=="b" goto place3
  33. goto syntax
  34. :place3
  35. if "%2"=="C" goto place0
  36. if "%2"=="c" goto place0
  37. if "%2"=="D" goto place0
  38. if "%2"=="d" goto place0
  39. if "%2"=="E" goto place0
  40. if "%2"=="e" goto place0
  41. if "%2"=="F" goto place0
  42. if "%2"=="f" goto place0
  43. if "%2"=="B" goto place1
  44. if "%2"=="b" goto place1
  45. if "%2"=="A" goto place1
  46. if "%2"=="a" goto place1
  47. goto syntax
  48. :place0
  49. echo  
  50. echo  
  51. echo       ╔════════════════════════════════════════════════════╗
  52. echo       ║                Un-archiving files                  ║
  53. echo       ╚════════════════════════════════════════════════════╝
  54. echo  
  55. echo        Unarchiving STOCK TRADER to drive %2 in directory STOCK
  56. echo        Ignore any FILE NOT FOUND messages.
  57. %2:
  58. cd\
  59. md STOCK
  60. cd\stock
  61. del STOCK5.EXE
  62. del STOCK.EXE
  63. del BRT71EFR.EXE
  64. del CONVERT.EXE
  65. del DEFAULT.EXE
  66. del GRAPHICS.EXE
  67. del SPLIT.EXE
  68. del STOCKEDT.EXE
  69. del STOCKPRT.EXE
  70. del STOCK.DOC
  71. copy %1:BROWSE.COM
  72. copy %1:FILES.TXT
  73. copy %1:NOTES.TXT
  74. copy %1:READ.ME
  75. copy %1:INFO.BAT
  76. copy %1:STOCKTDR.EXE
  77. copy %1:INSTALL.BAT
  78. copy %1:STOCKDAT.EXE
  79. copy %1:PRINTDOC.BAT
  80. stocktdr
  81. del stocktdr.exe
  82. IF EXIST %2:\stock\stock.dat GOTO FINISH1
  83. COPY %1:STOCK.HDR
  84. stockdat
  85. :finish1
  86. del stockdat.exe
  87. cls
  88. goto place2
  89. :place1
  90. if "%1"=="%2" goto syntax
  91. echo  
  92. echo       ╔════════════════════════════════════════════════════╗
  93. echo       ║         START  Procedure for Un-archiving          ║
  94. echo       ╚════════════════════════════════════════════════════╝
  95. echo  
  96. echo        Have a supply of 1 formatted disk  ready.
  97. echo  
  98. echo        Place the newly formatted system disk in drive B.
  99. echo  
  100. echo        NOTE:    If you have not yet formatted a disk,
  101. echo                               ┌─┬────┬─┐         ┌───┐
  102. echo        abort  by pressing the │ │Ctrl│ │ and the │ C │ keys
  103. echo                               └─┴────┴─┘         └───┘
  104. echo        at the same time.  You will then see the question
  105. echo  
  106. echo        "Terminate batch job?(Y/N)".  Respond "Y".  Then, format
  107. echo  
  108. echo        new diskettes and enter  INSTALL A B    to begin again.
  109. echo  
  110. echo        You can also reverse the drives and install from B to A
  111. pause
  112. cls
  113. echo  
  114. echo  
  115. echo       ╔════════════════════════════════════════════════════╗
  116. echo       ║                Un-archiving files                  ║
  117. echo       ╚════════════════════════════════════════════════════╝
  118. echo  
  119. echo            Un-archiving STOCK TRADER to drive %2:
  120. echo              Ignore any FILE NOT FOUND messages.
  121. del %2:\STOCK5.EXE
  122. del %2:\STOCK.EXE
  123. del %2:\BRT71EFR.EXE
  124. del %2:\CONVERT.EXE
  125. del %2:\DEFAULT.EXE
  126. del %2:\GRAPHICS.EXE
  127. del %2:\SPLIT.EXE
  128. del %2:\STOCKEDT.EXE
  129. del %2:\STOCKPRT.EXE
  130. del %2:\STOCK.DOC
  131. STOCKTDR %2:\
  132. IF EXIST %2:\stock.dat GOTO FINISH2
  133. COPY STOCK.HDR %2:\
  134. STOCKDAT %2:\
  135. :FINISH2
  136. echo  Please remove disk and mark it STOCK TRADER VER. 5.09
  137. echo  Use the original disk to print the manual. Enter PRINTDOC
  138. pause
  139. goto place2:
  140. :place2
  141. CLS
  142. echo  
  143. echo       ╔════════════════════════════════════════════════════╗
  144. echo       ║              !!! Congratulations !!!               ║
  145. echo       ║                                                    ║
  146. echo       ║               You have successfully                ║
  147. echo       ║                    un-archived                     ║
  148. echo       ║                   and made your                    ║
  149. echo       ║                   working disk.                    ║
  150. echo       ║                                                    ║
  151. echo       ╚════════════════════════════════════════════════════╝
  152. echo  
  153. pause
  154. goto endit
  155. :syntax
  156. CLS
  157. echo  
  158. echo       ╔════════════════════════════════════════════════════╗
  159. echo       ║                                                    ║
  160. echo       ║              !!! Installation ERROR !!!            ║
  161. echo       ║                                                    ║
  162. echo       ║   You must identify the drive on which you want    ║
  163. echo       ║   your working disk created. Be sure to create     ║
  164. echo       ║   the hard disk directory, if needed, and trans-   ║
  165. echo       ║   fer your hard disk to that directory.            ║
  166. echo       ║                                                    ║
  167. echo       ║      For Hard Disk Systems enter:                  ║
  168. echo       ║                                                    ║
  169. echo       ║        INSTALL A C ─┘ or INSTALL A D ─┘          ║
  170. echo       ║                                                    ║
  171. echo       ║      For Floppy Disk Systems enter:                ║
  172. echo       ║                                                    ║
  173. echo       ║         INSTALL A B ─┘ or INSTALL B A             ║
  174. echo       ║                                                    ║
  175. echo       ╚════════════════════════════════════════════════════╝
  176. echo  
  177. :endit
  178. if "%2"=="B" goto final
  179. if "%2"=="b" goto final
  180. if "%2"=="a" goto final
  181. if "%2"=="A" goto final
  182. echo  STOCK TRADER can be found on the %2 drive in the STOCK directory.
  183. goto final
  184. :final
  185. echo  This un-archiving procedure copyrighted 1989-91 FreeBooter(tm) Software
  186. echo  To print the manual enter PRINTDOC
  187.