home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR10
/
GT1800_2.ZIP
/
BIMOD110.LZH
/
BINSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-05-30
|
12KB
|
289 lines
: ____________________________________________________________________________
:| |
:| B I M O D E M I N S T A L L A T I O N |
:| |
:| This Batch file requires No Arguments. It is normally run from BiSetup |
:| which asks for four parameters and passes this information to this Batch |
:| file. The Batch file will run BiSetup if you forget and run the Batch |
:| file on its own. If you supply all four parameters then BiSetup will be |
:| completely ignored and the batch file will perfrom the basic installation. |
:| The four parameters are: Comm program id, 1 -telix, 2 -Procomm, 3 -Qmodem |
:| 4 -Other, or 5 -BBS. The second parameter is your drive, 3rd is path to |
:| put BiModem in, and last is the Com port you use. |
:|____________________________________________________________________________|
:
Echo off
if %1x==x goto NoArgs
if %2x==x goto NoArgs
if %3x==x goto NoArgs
if %4x==x goto NoArgs
if %1x==5x goto BBS
if %4x==1x goto Com1
if %4x==2x goto Com2
if %4x==3x goto Com3
if %4x==4x goto Com4
if %4x==5x goto Com5
if %4x==6x goto Com6
if %4x==7x goto Com7
if %4x==8x goto Com8
Echo Try running this batch file with no parameters and it will get them from you!
goto End
:Com1
Echo Installing BiModem for use with Com1
Echo ...
Copy BiMod.Cf1 BiModem.Cfg
goto PortSel
:Com2
Echo Installing BiModem for use with Com2
Echo ...
Copy BiMod.Cf2 BiModem.Cfg
goto PortSel
:Com3
Echo Installing BiModem for use with Com3
Echo
Copy BiMod.Cf3 BiModem.Cfg
goto PortSel
:Com4
Echo Installing BiModem for use with Com4
Echo
Copy BiMod.Cf4 BiModem.Cfg
goto PortSel
:Com5
Echo Installing BiModem for use with Com5
Echo
Copy BiMod.Cf5 BiModem.Cfg
goto PortSel
:Com6
Echo Installing BiModem for use with Com6
Echo
Copy BiMod.Cf6 BiModem.Cfg
goto PortSel
:Com7
Echo Installing BiModem for use with Com7
Echo
Copy BiMod.Cf7 BiModem.Cfg
goto PortSel
:Com8
Echo Installing BiModem for use with Com8
Echo
Copy BiMod.Cf8 BiModem.Cfg
:PortSel
if %1x==1x goto Telix
if %1x==2x goto Qmodem
if %1x==3x goto Procomm
if %1x==4x goto Other
:Telix
if not exist %2:%3\CS.Exe goto TlxError
Copy BiBat.Com %2:%3
Copy BiConfig.Com %2:%3
Copy BiPath.Com %2:%3
Copy BiMod.Slt %2:%3\BiModem.Slt
Copy BiMod.Bat %2:%3
Copy BiMenu.Com %2:%3
Copy BiModem1.Doc %2:%3
Copy BiModem.Com %2:%3
Copy BiModem.Cfg %2:%3
%2:
CD %3
CS BiModem.Slt
Cls
Echo BiModem installation Complete.
Echo - You should probably modify a macro key within Telix to execute the BiModem
Echo Script. When in Telix, press Alt-K to set a macro Key. Select a key you like
Echo (I chose ctrl-B so I could remember it) and specify:
Echo @BiModem
Echo Be sure to save the macro key file.
Echo - Get familiar with how to select bimodem on your favorite board. It may
Echo not be through normal Download/Upload options...
Echo - Press the hot key you defined above and you will be able to specify
Echo the files you would like to transfer. (See documentation for details on
Echo the use of BiPath).
Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
Echo system. Enter the command(s) necessary to get bimodem started on the Host.
Echo - The script will detect when BiModem is running and execute it automatically
Echo on your system.
Echo
Echo DesqView users please read the Documentation as you may prefer to select
Echo BiModem from a DV Menu rather than as stated above this lets Telix Swap out.
goto end
:TlxError
Echo Telix CS.EXE Not found in the Telix Directory you specified. Please Correct
Echo the directory specification and re-run. If you keep your script files in a
Echo separate directory you should specify the Telix Directory and move the BiModem
Echo Script file yourself for proper installation.
goto end
:Qmodem
if exist %2:%3\Qmodem.Com goto QmOk
if not exist %2:%3\Qmodem.Exe goto QmError
:QmOk
Copy BiBat.Com %2:%3
Copy BiConfig.Com %2:%3
Copy BiPath.Com %2:%3
Copy BiMod.Scr %2:%3\BiModem.Scr
Copy BiMod.Bat %2:%3
Copy BiMenu.Com %2:%3
Copy BiModem1.Doc %2:%3
Copy BiModem.Com %2:%3
Copy BiModem.Cfg %2:%3
Cls
%2:
CD %3
Echo BiModem installation Complete.
Echo - You should probably modify a macro key within Qmodem to execute the BiModem
Echo Script. Consult your Qmodem documentation on how to setup hot keys to execute
Echo script files. You may also specify the BiMod.Bat file to be executed. In
Echo place of the script file provided.
Echo - Get familiar with how to select bimodem on your favorite board. It may
Echo not be through normal Download/Upload options...
Echo - Press the hot key you defined above and you will be able to specify
Echo the files you would like to transfer. (See documentation for details on
Echo the use of BiPath).
Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
Echo system. Enter the command(s) necessary to get bimodem started on the Host
Echo - The script will detect when BiModem is running and execute it automatically
Echo on your system.
goto end
:QmError
Echo Qmodem.Exe Not found in the Qmodem Directory you specified. Please Correct
Echo The directory specification and re-run. If you keep your script files in a
Echo separate directory you should specify the Qmodem Directory and move the BiModem
Echo Script file yourself for proper installation.
goto end
:Procomm
if exist %2:%3\PCPlus.Exe goto PcPlusOk
if exist %2:%3\PcPlusTD.Exe goto PCError
:PcPlusOk
Copy BiBat.Com %2:%3
Copy BiConfig.Com %2:%3
Copy BiPath.Com %2:%3
Copy BiMod.ASP %2:%3\BiModem.Asp
Copy BiMod.Bat %2:%3
Copy BiMenu.Com %2:%3
Copy BiModem1.Doc %2:%3
Copy BiModem.Com %2:%3
Copy BiModem.Cfg %2:%3
%2:
CD %3
Cls
Echo BiModem installation Complete.
Echo - You will have to set up a method for executing BiModem from Procomm. 2 ways
Echo of doing this are:
Echo 1. Set up one of your hot keys to execute the BiMod.Bat file.
Echo 2. Execute the Aspect File BiModem by pressing Alt-F5
Echo - Get familiar with how to select bimodem on your favorite board. It may
Echo not be through normal Download/Upload options...
Echo - Select BiModem using one of the methods you selected above, to specify
Echo the files you would like to transfer. (See documentation for details on
Echo the use of BiPath).
Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
Echo system. Enter the command(s) necessary to get bimodem started on the Host
Echo - The aspect will detect when BiModem is running and execute it
Echo automatically on your system.
goto end
:PCError
Echo PCPlus.Exe not found in the Procomm Directory you specified. Please Correct
Echo the directory specification and re-run. If you keep your aspect files in a
Echo separate directory you should specify the Procomm Directory and move the BiModem
Echo Aspect file yourself for proper installation.
goto end
:Other
Copy BiBat.Com %2:%3
Copy BiConfig.Com %2:%3
Copy BiPath.Com %2:%3
Copy BiMod.Bat %2:%3
Copy BiMenu.Com %2:%3
Copy BiModem1.Doc %2:%3
Copy BiModem.Com %2:%3
Copy BiModem.Cfg %2:%3
%2:
CD %3
Cls
Echo BiModem installation Complete.
Echo - You will probably want to specify some method of running BiMod.Bat from
Echo your communications program. This will allow you to specify file transfers,
Echo let you start up bimodem on the BBS, and then automatically start BiModem on
Echo you system when it detects BiModem is running on the Host.
Echo - Get familiar with how to select bimodem on your favorite board. It may
Echo not be through normal Download/Upload options...
Echo - Execute BiMod.Bat from your communications program, and then specify
Echo the files you would like to transfer. (See documentation for details on
Echo the use of BiPath).
Echo - After exiting Bipath you will be asked to start bimodem on the Host (BBS)
Echo system. Enter the command(s) necessary to get bimodem started on the Host
Echo - The batch file will detect when BiModem is running and run it automatically
Echo on your system.
goto end
:BBS
Copy BiModem.Cf1 %2:%3\BiModem.Cfg
Copy BiModem.Cf1 %2:%3
Copy BiBat.Com %2:%3
Copy BiConfig.Com %2:%3
Copy BiPath.Com %2:%3
Copy BiMod.ASP %2:%3\BiModem.Asp
Copy BiMenu.Com %2:%3
Copy BiModem.Com %2:%3
Copy BiModem.Cfg %2:%3
Cls
Echo While a generic configuration has been copied to your BBS directory, we
Echo strongly recommend that before attempting to use BiModem on your BBS you first
Echo read the documentation thoroughly. This will help you not only to understand
Echo BiModems features, but also to better understand how BiModem will respond to
Echo the parameters you have selected. Additionally we strongly suggest that you
Echo read any and all documentation provided with the program you will use to
Echo interface BiModem with your BBS. BiModem will generally not work as an
Echo external protocol with most BBS's. The basic reason for this is that they
Echo simply were not designed to run full duplex protocols, they provide functions
Echo for either uploading or downloading but not both. Other reasons such as the
Echo ability to add additional downloads and uploads in the middle of a transfer
Echo make this even more difficult. We are and will be working with BBS authors to
Echo help provide a direct interface that will permit these types of features,
Echo however for the most part you will need a seperate program to provide this
Echo interface. I really do not wish to alarm you so much as to help you have a
Echo successful installation. BiModem is packed with advanced features that really
Echo should be considered prior to its use.
Echo
Echo We really feel that BiModem is the Best protocol available anywhere and that it
Echo will continue to be the best for many years. We appreciate your interest and
Echo sincerly hope you find BiModem sufficiently advanced to warrent your support.
Echo remember without your support we will not be able to continue developing other
Echo fine programs.
PAUSE
GoTo End
:noargs
Cls
while Yes in ( %Binst% ) do InstMsg
Echo You must specify all fields on the screen please try again
Pause
goto Setup
:InstMsg
Echo ┌──────────────────────────────┐
Echo │ │
Echo │ BiModem Installation Program │
Echo │──────────────────────────────│
Echo │ │
Echo │ This installation provides │
Echo │ a basic setup for several │
Echo │ popular communications │
Echo │ programs. You will probably │
Echo │ want to change your setup │
Echo │ after using it for a while. │
Echo │ We recommend a thorough │
Echo │ reading of the documentation │
Echo │ prior to making changes to │
Echo │ this setup. │
Echo │ BBS sysops will want to │
Echo │ read the documentation prior │
Echo │ to setting up bimodem as an │
Echo │ external protocol. Good │
Echo │ luck and happy modeming. │
Echo └──────────────────────────────┘
Pause
set Binst=YES
:Setup
bisetup
echo BiModem is now setup for you...
Echo
Echo Be sure to print the documentation and review it prior to using BiModem
Echo Use the PrintDoc.Bat file included in the archive.
:end