home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR10 / GT1800_2.ZIP / BIMOD110.LZH / BINSTALL.BAT < prev    next >
DOS Batch File  |  1989-05-30  |  12KB  |  289 lines

  1. : ____________________________________________________________________________
  2. :|                                                                            |
  3. :|                   B I M O D E M   I N S T A L L A T I O N                  |
  4. :|                                                                            |
  5. :| This Batch file requires No Arguments.  It is normally run from BiSetup    |
  6. :| which asks for four parameters and passes this information to this Batch   |
  7. :| file.  The Batch file will run BiSetup if you forget and run the Batch     |
  8. :| file on its own.  If you supply all four parameters then BiSetup will be   |
  9. :| completely ignored and the batch file will perfrom the basic installation. |
  10. :| The four parameters are:  Comm program id, 1 -telix, 2 -Procomm, 3 -Qmodem |
  11. :| 4 -Other, or 5 -BBS.  The second parameter is your drive, 3rd is path to   |
  12. :| put BiModem in, and last is the Com port you use.                          |
  13. :|____________________________________________________________________________|
  14. :
  15. Echo off
  16. if %1x==x goto NoArgs
  17. if %2x==x goto NoArgs
  18. if %3x==x goto NoArgs
  19. if %4x==x goto NoArgs
  20. if %1x==5x goto BBS
  21. if %4x==1x goto Com1
  22. if %4x==2x goto Com2
  23. if %4x==3x goto Com3
  24. if %4x==4x goto Com4
  25. if %4x==5x goto Com5
  26. if %4x==6x goto Com6
  27. if %4x==7x goto Com7
  28. if %4x==8x goto Com8
  29. Echo Try running this batch file with no parameters and it will get them from you!
  30. goto End
  31. :Com1
  32. Echo Installing BiModem for use with Com1
  33. Echo ...
  34. Copy BiMod.Cf1 BiModem.Cfg
  35. goto PortSel
  36. :Com2
  37. Echo Installing BiModem for use with Com2
  38. Echo ...
  39. Copy BiMod.Cf2 BiModem.Cfg
  40. goto PortSel
  41. :Com3
  42. Echo Installing BiModem for use with Com3
  43. Echo   
  44. Copy BiMod.Cf3 BiModem.Cfg
  45. goto PortSel
  46. :Com4
  47. Echo Installing BiModem for use with Com4
  48. Echo   
  49. Copy BiMod.Cf4 BiModem.Cfg
  50. goto PortSel
  51. :Com5
  52. Echo Installing BiModem for use with Com5
  53. Echo   
  54. Copy BiMod.Cf5 BiModem.Cfg
  55. goto PortSel
  56. :Com6
  57. Echo Installing BiModem for use with Com6
  58. Echo   
  59. Copy BiMod.Cf6 BiModem.Cfg
  60. goto PortSel
  61. :Com7
  62. Echo Installing BiModem for use with Com7
  63. Echo   
  64. Copy BiMod.Cf7 BiModem.Cfg
  65. goto PortSel
  66. :Com8
  67. Echo Installing BiModem for use with Com8
  68. Echo   
  69. Copy BiMod.Cf8 BiModem.Cfg
  70. :PortSel
  71. if %1x==1x goto Telix
  72. if %1x==2x goto Qmodem
  73. if %1x==3x goto Procomm
  74. if %1x==4x goto Other
  75. :Telix
  76. if not exist %2:%3\CS.Exe goto TlxError
  77. Copy BiBat.Com %2:%3
  78. Copy BiConfig.Com %2:%3
  79. Copy BiPath.Com %2:%3
  80. Copy BiMod.Slt %2:%3\BiModem.Slt
  81. Copy BiMod.Bat %2:%3
  82. Copy BiMenu.Com %2:%3
  83. Copy BiModem1.Doc %2:%3
  84. Copy BiModem.Com %2:%3
  85. Copy BiModem.Cfg %2:%3
  86. %2:
  87. CD %3
  88. CS BiModem.Slt
  89. Cls
  90. Echo BiModem installation Complete.
  91. Echo - You should probably modify a macro key within Telix to execute the BiModem
  92. Echo   Script. When in Telix, press Alt-K to set a macro Key.  Select a key you like
  93. Echo   (I chose ctrl-B so I could remember it) and specify:
  94. Echo       @BiModem
  95. Echo   Be sure to save the macro key file.
  96. Echo - Get familiar with how to select bimodem on your favorite board.  It may
  97. Echo   not be through normal Download/Upload options...
  98. Echo - Press the hot key you defined above and you will be able to specify
  99. Echo   the files you would like to transfer.  (See documentation for details on
  100. Echo   the use of BiPath).
  101. Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
  102. Echo   system.  Enter the command(s) necessary to get bimodem started on the Host.
  103. Echo - The script will detect when BiModem is running and execute it automatically
  104. Echo   on your system.
  105. Echo  
  106. Echo DesqView users please read the Documentation as you may prefer to select
  107. Echo BiModem from a DV Menu rather than as stated above this lets Telix Swap out.
  108. goto end
  109. :TlxError
  110. Echo Telix CS.EXE Not found in the Telix Directory you specified.  Please Correct
  111. Echo the directory specification and re-run.  If you keep your script files in a
  112. Echo separate directory you should specify the Telix Directory and move the BiModem
  113. Echo Script file yourself for proper installation.
  114. goto end
  115. :Qmodem
  116. if exist %2:%3\Qmodem.Com goto QmOk
  117. if not exist %2:%3\Qmodem.Exe goto QmError
  118. :QmOk
  119. Copy BiBat.Com %2:%3
  120. Copy BiConfig.Com %2:%3
  121. Copy BiPath.Com %2:%3
  122. Copy BiMod.Scr %2:%3\BiModem.Scr
  123. Copy BiMod.Bat %2:%3
  124. Copy BiMenu.Com %2:%3
  125. Copy BiModem1.Doc %2:%3
  126. Copy BiModem.Com %2:%3
  127. Copy BiModem.Cfg %2:%3
  128. Cls
  129. %2:
  130. CD %3
  131. Echo BiModem installation Complete.
  132. Echo - You should probably modify a macro key within Qmodem to execute the BiModem
  133. Echo   Script. Consult your Qmodem documentation on how to setup hot keys to execute
  134. Echo   script files.  You may also specify the BiMod.Bat file to be executed.  In
  135. Echo   place of the script file provided.
  136. Echo - Get familiar with how to select bimodem on your favorite board.  It may
  137. Echo   not be through normal Download/Upload options...
  138. Echo - Press the hot key you defined above and you will be able to specify
  139. Echo   the files you would like to transfer.  (See documentation for details on
  140. Echo   the use of BiPath).
  141. Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
  142. Echo   system.  Enter the command(s) necessary to get bimodem started on the Host
  143. Echo - The script will detect when BiModem is running and execute it automatically
  144. Echo   on your system.
  145. goto end
  146. :QmError
  147. Echo Qmodem.Exe Not found in the Qmodem Directory you specified.  Please Correct
  148. Echo The directory specification and re-run.  If you keep your script files in a
  149. Echo separate directory you should specify the Qmodem Directory and move the BiModem
  150. Echo Script file yourself for proper installation.
  151. goto end
  152. :Procomm
  153. if exist %2:%3\PCPlus.Exe goto PcPlusOk
  154. if exist %2:%3\PcPlusTD.Exe goto PCError
  155. :PcPlusOk
  156. Copy BiBat.Com %2:%3
  157. Copy BiConfig.Com %2:%3
  158. Copy BiPath.Com %2:%3
  159. Copy BiMod.ASP %2:%3\BiModem.Asp
  160. Copy BiMod.Bat %2:%3
  161. Copy BiMenu.Com %2:%3
  162. Copy BiModem1.Doc %2:%3
  163. Copy BiModem.Com %2:%3
  164. Copy BiModem.Cfg %2:%3
  165. %2:
  166. CD %3
  167. Cls
  168. Echo BiModem installation Complete.
  169. Echo - You will have to set up a method for executing BiModem from Procomm.  2 ways
  170. Echo   of doing this are:
  171. Echo       1. Set up one of your hot keys to execute the BiMod.Bat file.
  172. Echo       2. Execute the Aspect File BiModem by pressing Alt-F5
  173. Echo - Get familiar with how to select bimodem on your favorite board.  It may
  174. Echo   not be through normal Download/Upload options...
  175. Echo - Select BiModem using one of the methods you selected above, to specify
  176. Echo   the files you would like to transfer.  (See documentation for details on
  177. Echo   the use of BiPath).
  178. Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
  179. Echo   system.  Enter the command(s) necessary to get bimodem started on the Host
  180. Echo - The aspect will detect when BiModem is running and execute it
  181. Echo   automatically on your system.
  182. goto end
  183. :PCError
  184. Echo PCPlus.Exe not found in the Procomm Directory you specified.  Please Correct
  185. Echo the directory specification and re-run.  If you keep your aspect files in a
  186. Echo separate directory you should specify the Procomm Directory and move the BiModem
  187. Echo Aspect file yourself for proper installation.
  188. goto end
  189. :Other
  190. Copy BiBat.Com %2:%3
  191. Copy BiConfig.Com %2:%3
  192. Copy BiPath.Com %2:%3
  193. Copy BiMod.Bat %2:%3
  194. Copy BiMenu.Com %2:%3
  195. Copy BiModem1.Doc %2:%3
  196. Copy BiModem.Com %2:%3
  197. Copy BiModem.Cfg %2:%3
  198. %2:
  199. CD %3
  200. Cls
  201. Echo BiModem installation Complete.
  202. Echo - You will probably want to specify some method of running BiMod.Bat from
  203. Echo   your communications program.  This will allow you to specify file transfers,
  204. Echo   let you start up bimodem on the BBS, and then automatically start BiModem on
  205. Echo   you system when it detects BiModem is running on the Host.
  206. Echo - Get familiar with how to select bimodem on your favorite board.  It may
  207. Echo   not be through normal Download/Upload options...
  208. Echo - Execute BiMod.Bat from your communications program, and then specify
  209. Echo   the files you would like to transfer.  (See documentation for details on
  210. Echo   the use of BiPath).
  211. Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
  212. Echo   system.  Enter the command(s) necessary to get bimodem started on the Host
  213. Echo - The batch file will detect when BiModem is running and run it automatically
  214. Echo   on your system.
  215. goto end
  216. :BBS
  217. Copy BiModem.Cf1 %2:%3\BiModem.Cfg
  218. Copy BiModem.Cf1 %2:%3
  219. Copy BiBat.Com %2:%3
  220. Copy BiConfig.Com %2:%3
  221. Copy BiPath.Com %2:%3
  222. Copy BiMod.ASP %2:%3\BiModem.Asp
  223. Copy BiMenu.Com %2:%3
  224. Copy BiModem.Com %2:%3
  225. Copy BiModem.Cfg %2:%3
  226. Cls
  227. Echo While a generic configuration has been copied to your BBS directory, we
  228. Echo strongly recommend that before attempting to use BiModem on your BBS you first
  229. Echo read the documentation thoroughly.  This will help you not only to understand
  230. Echo BiModems features, but also to better understand how BiModem will respond to
  231. Echo the parameters you have selected.  Additionally we strongly suggest that you
  232. Echo read any and all documentation provided with the program you will use to
  233. Echo interface BiModem with your BBS.  BiModem will generally not work as an
  234. Echo external protocol with most BBS's.  The basic reason for this is that they
  235. Echo simply were not designed to run full duplex protocols, they provide functions
  236. Echo for either uploading or downloading but not both.  Other reasons such as the
  237. Echo ability to add additional downloads and uploads in the middle of a transfer
  238. Echo make this even more difficult.  We are and will be working with BBS authors to
  239. Echo help provide a direct interface that will permit these types of features,
  240. Echo however for the most part you will need a seperate program to provide this
  241. Echo interface.  I really do not wish to alarm you so much as to help you have a
  242. Echo successful installation.  BiModem is packed with advanced features that really
  243. Echo should be considered prior to its use.
  244. Echo   
  245. Echo We really feel that BiModem is the Best protocol available anywhere and that it
  246. Echo will continue to be the best for many years.  We appreciate your interest and
  247. Echo sincerly hope you find BiModem sufficiently advanced to warrent your support.
  248. Echo remember without your support we will not be able to continue developing other
  249. Echo fine programs.
  250. PAUSE
  251. GoTo End
  252. :noargs
  253. Cls
  254. while Yes in ( %Binst% ) do InstMsg
  255. Echo You must specify all fields on the screen please try again
  256. Pause
  257. goto Setup
  258. :InstMsg
  259. Echo ┌──────────────────────────────┐
  260. Echo │                              │
  261. Echo │ BiModem Installation Program │
  262. Echo │──────────────────────────────│
  263. Echo │                              │
  264. Echo │ This installation provides   │
  265. Echo │ a basic setup for several    │
  266. Echo │ popular communications       │
  267. Echo │ programs.  You will probably │
  268. Echo │ want to change your setup    │
  269. Echo │ after using it for a while.  │
  270. Echo │ We recommend a thorough      │
  271. Echo │ reading of the documentation │
  272. Echo │ prior to making changes to   │
  273. Echo │ this setup.                  │
  274. Echo │ BBS sysops will want to      │
  275. Echo │ read the documentation prior │
  276. Echo │ to setting up bimodem as an  │
  277. Echo │ external protocol.  Good     │
  278. Echo │ luck and happy modeming.     │
  279. Echo └──────────────────────────────┘
  280. Pause
  281. set Binst=YES
  282. :Setup
  283. bisetup
  284. echo BiModem is now setup for you...
  285. Echo   
  286. Echo Be sure to print the documentation and review it prior to using BiModem
  287. Echo Use the PrintDoc.Bat file included in the archive.
  288. :end
  289.