home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
SPORT131.ZIP
/
WAITS.EXE
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-05-15
|
8KB
|
192 lines
echo off
prompt $p $
cls
echo.
if "%1" == "C:" GOTO ready
if "%1" == "c:" GOTO ready
if "%1" == "D:" GOTO ready
if "%1" == "d:" GOTO ready
if "%1" == "E:" GOTO ready
if "%1" == "e:" GOTO ready
if "%1" == "F:" GOTO ready
if "%1" == "f:" GOTO ready
if "%1" == "G:" GOTO ready
if "%1" == "g:" GOTO ready
if "%1" == "H:" GOTO ready
if "%1" == "h:" GOTO ready
if "%1" == "I:" GOTO ready
if "%1" == "i:" GOTO ready
if "%1" == "J:" GOTO ready
if "%1" == "j:" GOTO ready
cls
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo Sorry, but you have not specified a drive on which SPORT should be
echo installed. SPORT needs to reside on your Hard Disk Drive C: - J:.
echo.
echo For example, to install SPORT on drive C, use "INSTALL C:".
echo.
echo Please try again.
echo.
GOTO finis
:READY
cls
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo Installation will now begin.
echo.
%1
cd \
cd \sport
md incoming > nul
md docs > nul
cd \sport
echo.
:hd1
if exist *.doc copy *.doc \sport\docs > NUL
if exist *.txt copy *.txt \sport\docs > NUL
if exist *.doc del *.doc > NUL
if exist *.txt del *.txt > NUL
if exist disk1 del disk1 > NUL
if exist disk2 del disk2 > NUL
if exist disk3 del disk3 > NUL
:hd2
cls
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo You are now ready to configure SPORT for your own system. Several
echo questions will be presented to help you customize your installation.
echo.
echo Please note that the questions have default responses. You will
echo only need to press [RETURN] on your keyboard to accept the default
echo response. Several of these questions will be confusing if you have
echo not yet read the documentation for SPORT. Don't let this worry you.
echo If you are unsure about how to answer a given question, just press
echo [RETURN] on your keyboard. You can run the Installation Utility
echo (SPORTI) again as often as you wish.
echo.
echo After the installation is complete you will find SPORTI in your
echo default SPORT subdirectory. The SPORT documentation covers many
echo more advanced features which you may wish to explore.
echo.
pause
cls
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo If you have a color monitor answer Y (for YES) to the next question,
echo otherwise answer N (for NO) and press RETURN.
echo.
if "%1" == "C:" SPORTI 3
if "%1" == "c:" SPORTI 3
if "%1" == "D:" SPORTI 4
if "%1" == "d:" SPORTI 4
if "%1" == "E:" SPORTI 5
if "%1" == "e:" SPORTI 5
if "%1" == "F:" SPORTI 6
if "%1" == "f:" SPORTI 6
if "%1" == "G:" SPORTI 7
if "%1" == "g:" SPORTI 7
if "%1" == "H:" SPORTI 8
if "%1" == "h:" SPORTI 8
if "%1" == "I:" SPORTI 9
if "%1" == "i:" SPORTI 9
if "%1" == "J:" SPORTI 10
if "%1" == "j:" SPORTI 10
if errorlevel 1 goto quitnow
goto xcontinue
:quitnow
cls
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo You have asked to abandon the SPORT installation process.
echo.
echo When you are ready to install the SPORT system run "INSTALL" from
echo the DOS prompt.
echo.
goto finis
:xcontinue
pause
cls
if exist \sport130.exe del \sport130.exe > nul
if exist \read.me del \read.me > nul
if exist \waits.exe del \waits.exe > nul
if exist sport130.exe del sport130.exe > nul
if exist read.me del read.me > nul
if exist waits.exe del waits.exe > nul
:hd3
cls
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo Should you experience problems with your modem ...
echo.
echo This Installation Utility attempted to determine the correct modem
echo initialization string and proper speed at which to send commands to
echo your modem. Most often this will be correct. Sometimes, however,
echo you may find that your modem is not responding properly or that you
echo are experiencing problems in sending and/or receiving mail. First
echo be sure to check your SPORT.LOG for any diagnostic messages. Then
echo review the SPORT documentation for how to determine the right modem
echo initialization string for your modem. You may also want to run the
echo utility SMODEM.EXE to see if there is a modem initialization string
echo already established for your particular modem.
echo.
echo.
pause.
cls
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1990 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo Your SPORT system has now been installed. A new batch file named
echo RUNSPORT.BAT has also been created. You may now run SPORT by typing
echo RUNSPORT from the default directory created during the installation
echo process.
echo.
echo Be sure to read the documentation which came with SPORT. You will
echo find documentation and service notes in the subdirectory \DOCS off
echo of your SPORT default directory.
echo.
echo If you would like to run SPORT in the Test Mode, enter this command:
echo.
echo RUNSPORT X
echo.
echo By using SPORT in the Test Mode you will be able to get a feel for
echo the complete system without the need to send or receive mail.
echo.
:FINIS