home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
busi
/
sprt109c.lzh
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-10-09
|
11KB
|
283 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
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:". Use the
echo drive letter followed by a colon to designate the drive. You should
echo use this method if you are installing SPORT from one or more distri-
echo bution diskettes.
echo.
echo If you are *NOT* installing from drive A:, but from files already on
echo your hard disk, use "INSTALL d: H", where "d:" is the drive on which
echo you will be installing SPORT. If you received SPORT electronically
echo in one or more compressed files you should use this method. Be sure
echo to use the "H" argument when you run INSTALL.
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 Please be sure you have all of the distribution disks ready to go.
echo The installation process is quite short and simple.
echo.
%1
cd \
echo Creating \SPORT subdirectory - for SPORT files and utilities.
md sport > nul
echo Creating \SPORT\INCOMING subdirectory - for incoming mail.
cd \sport
md incoming > nul
echo Creating \SPORT\DOCS - for SPORT documentation and system notes.
md docs > nul
cd \sport
echo.
If "%2" == "h" GOTO hd1
If "%2" == "H" GOTO hd1
GOTO LOAD1
: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
goto hd2
:LOAD1
echo.
IF exist a:DISK1 GOTO d1
echo Please place DISK 1 in Drive A:
pause
IF exist a:DISK1 GOTO d1
goto load1
:D1
echo.
echo Please wait while files are copied...
if exist a:*.exe copy a:*.exe \sport > NUL
if exist a:*.ovr copy a:*.ovr \sport > NUL
if exist a:*.bat copy a:*.bat \sport > NUL
if exist a:*.raw copy a:*.raw \sport > NUL
if exist a:*.ban copy a:*.ban \sport > NUL
if exist a:*.hlp copy a:*.hlp \sport > NUL
if exist a:*.ctl copy a:*.ctl \sport > NUL
if exist a:*.doc copy a:*.doc \sport\docs > NUL
:LOAD2
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 Please place DISK 2 in Drive A:
pause
IF exist a:DISK2 GOTO d2
goto load2
:D2
echo.
echo Please wait while files are copied...
if exist a:*.exe copy a:*.exe \sport > NUL
if exist a:*.ovr copy a:*.ovr \sport > NUL
if exist a:*.bat copy a:*.bat \sport > NUL
if exist a:*.raw copy a:*.raw \sport > NUL
if exist a:*.ban copy a:*.ban \sport > NUL
if exist a:*.hlp copy a:*.hlp \sport > NUL
if exist a:*.lst copy a:*.lst \sport > NUL
if exist a:*.ctl copy a:*.ctl \sport > NUL
if exist a:*.doc copy a:*.doc \sport\docs > NUL
:LOAD3
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 Please place DISK 3 in Drive A:
pause
IF exist a:DISK3 GOTO d3
goto load3
:D3
echo.
echo Please wait while files are copied...
if exist a:*.exe copy a:*.exe \sport > NUL
if exist a:*.ovr copy a:*.ovr \sport > NUL
if exist a:*.bat copy a:*.bat \sport > NUL
if exist a:*.raw copy a:*.raw \sport > NUL
if exist a:*.ban copy a:*.ban \sport > NUL
if exist a:*.hlp copy a:*.hlp \sport > NUL
if exist a:*.ctl copy a:*.ctl \sport > NUL
if exist a:*.cmd copy a:*.cmd \sport > NUL
if exist a:*.cfg copy a:*.cfg \sport > NUL
if exist a:*.doc copy a:*.doc \sport\docs > 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
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 You will now have a chance to edit the SPORT.RAW file - the telephone
echo book for SPORT. You will be able to enter numbers of other users you
echo would like to contact.
echo.
echo You will be using the SPORT message editor to review and make changes
echo to the file. Feel free to move about in the file, but before making
echo any changes be sure to read the comment lines throughout the file.
echo Use your [PageUp] and [PageDown] keys to move through the file.
echo.
echo You may enter the names and telephone numbers of other SPORT users
echo once you understand the format required by the SPORT.RAW file. When
echo you are ready to leave the editor, use the [ALT+Q] key combination
echo and answer "Y" to the "SAVE" prompt. The new SPORT.RAW file will be
echo automatically prepared for use by SPORT.
echo.
pause
sportedt sport.raw
sprep y
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.
echo As you were able to edit the SPORT.RAW telephone book, you will now
echo be able to edit two other files:
echo.
echo 1. SPORT.BAN - the banner file shown to human callers.
echo 2. SCHAT.BAN - the banner file shown to callers who want to chat.
echo.
echo Feel free to edit these to your liking, or just save them if you will
echo not be using them right away.
echo.
echo.
pause
sportedt sport.ban
sportedt schat.ban
if exist \sportexe.zip del \sportexe.zip
if exist \read.me del \read.me
sprep y
smodem
if not exist signup.exe goto hd3
signup
: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 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.
:FINIS