home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF201.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-27
|
7KB
|
187 lines
echo off
cls
echo
echo
echo ████████████████████████████████████████████████████████████████████████████
echo ██ ██
echo ██ ██
echo ██ Welcome to the FreeBooter(tm) Software automatic installation ██
echo ██ program. This program will automatically make a directory on ██
echo ██ your hard disk, or if you have a 3½" drive or a high density ██
echo ██ 5¼" drive it will install it on floppy drive. ██
echo ██ ██
echo ██ This new technology is another way that FreeBooter (tm) Soft- ██
echo ██ ware makes shareware more user friendly, and insures that ex- ██
echo ██ tra margin of value that sets it apart from other shareware ██
echo ██ dealers, and enhances your purchase. ██
echo ██ ██
echo ██ We sincerely appreciate your support. ██
echo ██ ██
echo ██ Enter Control Break if you wish to abort this installation. ██
echo ██ ██
echo ██ ██
echo ██ ██
echo ████████████████████████████████████████████████████████████████████████████
echo
pause
cls
if %1x==x goto syntax
if "%1"=="A" goto place3
if "%1"=="a" goto place3
if "%1"=="B" goto place3
if "%1"=="b" goto place3
goto syntax
:place3
if "%2"=="C" goto place0
if "%2"=="c" goto place0
if "%2"=="D" goto place0
if "%2"=="d" goto place0
if "%2"=="E" goto place0
if "%2"=="e" goto place0
if "%2"=="F" goto place0
if "%2"=="f" goto place0
if "%2"=="B" goto place1
if "%2"=="b" goto place1
if "%2"=="A" goto place1
if "%2"=="a" goto place1
goto syntax
:place0
echo
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ Un-archiving files ║
echo ╚════════════════════════════════════════════════════╝
echo
echo Unarchiving STOCK TRADER to drive %2 in directory STOCK
echo Ignore any FILE NOT FOUND messages.
%2:
cd\
md STOCK
cd\stock
del STOCK5.EXE
del STOCK.EXE
del BRT71EFR.EXE
del CONVERT.EXE
del DEFAULT.EXE
del GRAPHICS.EXE
del SPLIT.EXE
del STOCKEDT.EXE
del STOCKPRT.EXE
del STOCK.DOC
copy %1:BROWSE.COM
copy %1:FILES.TXT
copy %1:NOTES.TXT
copy %1:READ.ME
copy %1:INFO.BAT
copy %1:STOCKTDR.EXE
copy %1:INSTALL.BAT
copy %1:STOCKDAT.EXE
copy %1:PRINTDOC.BAT
stocktdr
del stocktdr.exe
IF EXIST %2:\stock\stock.dat GOTO FINISH1
COPY %1:STOCK.HDR
stockdat
:finish1
del stockdat.exe
cls
goto place2
:place1
if "%1"=="%2" goto syntax
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ START Procedure for Un-archiving ║
echo ╚════════════════════════════════════════════════════╝
echo
echo Have a supply of 1 formatted disk ready.
echo
echo Place the newly formatted system disk in drive B.
echo
echo NOTE: If you have not yet formatted a disk,
echo ┌─┬────┬─┐ ┌───┐
echo abort by pressing the │ │Ctrl│ │ and the │ C │ keys
echo └─┴────┴─┘ └───┘
echo at the same time. You will then see the question
echo
echo "Terminate batch job?(Y/N)". Respond "Y". Then, format
echo
echo new diskettes and enter INSTALL A B to begin again.
echo
echo You can also reverse the drives and install from B to A
pause
cls
echo
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ Un-archiving files ║
echo ╚════════════════════════════════════════════════════╝
echo
echo Un-archiving STOCK TRADER to drive %2:
echo Ignore any FILE NOT FOUND messages.
del %2:\STOCK5.EXE
del %2:\STOCK.EXE
del %2:\BRT71EFR.EXE
del %2:\CONVERT.EXE
del %2:\DEFAULT.EXE
del %2:\GRAPHICS.EXE
del %2:\SPLIT.EXE
del %2:\STOCKEDT.EXE
del %2:\STOCKPRT.EXE
del %2:\STOCK.DOC
STOCKTDR %2:\
IF EXIST %2:\stock.dat GOTO FINISH2
COPY STOCK.HDR %2:\
STOCKDAT %2:\
:FINISH2
echo Please remove disk and mark it STOCK TRADER VER. 5.09
echo Use the original disk to print the manual. Enter PRINTDOC
pause
goto place2:
:place2
CLS
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ !!! Congratulations !!! ║
echo ║ ║
echo ║ You have successfully ║
echo ║ un-archived ║
echo ║ and made your ║
echo ║ working disk. ║
echo ║ ║
echo ╚════════════════════════════════════════════════════╝
echo
pause
goto endit
:syntax
CLS
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ ║
echo ║ !!! Installation ERROR !!! ║
echo ║ ║
echo ║ You must identify the drive on which you want ║
echo ║ your working disk created. Be sure to create ║
echo ║ the hard disk directory, if needed, and trans- ║
echo ║ fer your hard disk to that directory. ║
echo ║ ║
echo ║ For Hard Disk Systems enter: ║
echo ║ ║
echo ║ INSTALL A C ─┘ or INSTALL A D ─┘ ║
echo ║ ║
echo ║ For Floppy Disk Systems enter: ║
echo ║ ║
echo ║ INSTALL A B ─┘ or INSTALL B A ║
echo ║ ║
echo ╚════════════════════════════════════════════════════╝
echo
:endit
if "%2"=="B" goto final
if "%2"=="b" goto final
if "%2"=="a" goto final
if "%2"=="A" goto final
echo STOCK TRADER can be found on the %2 drive in the STOCK directory.
goto final
:final
echo This un-archiving procedure copyrighted 1989-91 FreeBooter(tm) Software
echo To print the manual enter PRINTDOC