home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
CO
/
CO036A.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-29
|
11KB
|
324 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, 1991 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, 1991 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:*.lst copy a:*.lst \sport > NUL
if exist a:*.001 copy a:*.001 \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, 1991 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:*.lst copy a:*.lst \sport > NUL
if exist a:*.001 copy a:*.001 \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, 1991 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:*.lst copy a:*.lst \sport > NUL
if exist a:*.001 copy a:*.001 \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, 1991 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 some 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, 1991 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
REM pause
if errorlevel 1 goto aab
goto ccb
:aab
cls
echo.
echo You have asked to cancel the SPORT Installation process.
echo The Installation may be rerun at any time.
echo.
goto finis
:ccb
if not exist \SPORT\SPORT.EXE GOTO NOT1
if not exist \SPORT\DOCS\USER.DOC GOTO NOT1
if not exist \SPORT\SPORTEVT.EXE GOTO NOT2
if not exist \SPORT\SPORTEDT.EXE GOTO NOT2
if not exist \SPORT\SPORTEX.EXE GOTO NOT2
if not exist \SPORT\SPORTRM.EXE GOTO NOT2
if not exist \SPORT\SPORTLIB.EXE GOTO NOT2
if not exist \SPORT\POSTMAIL.BAT GOTO NOT2
if not exist \SPORT\SPORTR.CTL GOTO NOT2
if not exist \SPORT\SPORTRTE.CTL GOTO NOT2
if not exist \SPORT\SFLASH.RAW GOTO NOT2
if not exist \SPORT\SPORT.RAW GOTO NOT2
if not exist \SPORT\SPORTLIB.CTL GOTO NOT2
if not exist \SPORT\SPREP.EXE GOTO NOT2
if not exist \SPORT\SPORTU.EXE GOTO NOT2
if not exist \SPORT\SPORTRTE.EXE GOTO NOT2
if not exist \SPORT\SMODEM.EXE GOTO NOT2
if not exist \SPORT\SPORTEX.CTL GOTO NOT2
if not exist \SPORT\SPORT.OVR GOTO NOT3
if not exist \SPORT\SPORTID.EXE GOTO NOT3
if not exist \SPORT\SPORTY.EXE GOTO NOT3
if not exist \SPORT\SPORTI.EXE GOTO NOT3
sprep y
if exist \SPORT\WAITS.EXE DEL \SPORT\WAITS.EXE > NUL
if exist \WAITS.EXE DEL \WAITS.EXE > NUL
if exist \READ.ME DEL \READ.ME > NUL
if exist \SPORT\READ.ME DEL \SPORT\READ.ME > NUL
if exist SPORTKEY.EXE SPORTKEY
cls
:hd3
echo.
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ The SPORT Wide Area Information Transfer System │
echo │ Installation Utility │
echo │ Copyright(c) 1988, 1991 Satore Center Software │
echo └───────────────────────────────────────────────────────────────────┘
echo.
echo Your SPORT system has now been installed. You will want to edit your
echo Phone Index list. Do this by using (U)tilities / Edit ID(X) file from
echo the Main Screen.
echo.
echo Two files have been automatically prepared, but you may wish to edit
echo them; SPORT.BAN - the banner file shown to human callers and
echo SCHAT.BAN - the banner file shown to callers who want to chat.
echo.
echo A batch file named RUNSPORT.BAT has been created. You may now use SPORT
echo by typing RUNSPORT at the \SPORT directory prompt.
echo.
echo You will find the SPORT documentation in the subdirectory \SPORT\DOCS.
echo. Registration information is contained in the documentation.
echo.
echo If you would like to run SPORT in the Test Mode, enter this command:
echo.
echo RUNSPORT X
GOTO FINIS
:NOT1
cls
echo.
echo.
echo.
echo One of the files from Disk or File #1 has not be installed.
echo Please reinstall SPORT from the original disk or file.
echo.
echo.
echo.
GOTO FINIS
:NOT2
cls
echo.
echo.
echo.
echo One of the files from Disk or File #2 has not be installed.
echo Please reinstall SPORT from the original disk or file.
echo.
echo.
echo.
GOTO FINIS
:NOT3
cls
echo.
echo.
echo.
echo One of the files from Disk or File #3 has not be installed.
echo Please reinstall SPORT from the original disk or file.
echo.
echo.
echo.
GOTO FINIS
:FINIS