home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
SCIENCE
/
FDPLOT12.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-10
|
2KB
|
68 lines
@echo off
cls
rem --- make sure the user specified valid drive letter (we allow C to F).
if %1a == a goto noDriveSpecified
if %1 == c: goto begin
if %1 == C: goto begin
if %1 == d: goto begin
if %1 == D: goto begin
if %1 == e: goto begin
if %1 == E: goto begin
if %1 == f: goto begin
if %1 == F: goto begin
if %2 == a: goto floppy
if %2 == A: goto floppy
if %2 == b: goto floppy
if %2 == B: goto floppy
Goto notOnThatDrive
:begin
echo ┌─┐
echo │ │ ATI FDplot Software Installation
echo │ │
echo │I│ You may install the FDplot software anywhere you wish by simply
echo │N│ creating a directory of your choice and then copying the files to
echo │S│ it - except install.bat.
echo │T│ BUT! if you want:
echo │A│ This will create a directory called %1\PLOT on your hard disk,
echo │L│ and will install FDplot in that directory from this diskette.
echo │L│ If you don't want to install FDplot right now, press Ctrl-Break.
echo │ │
echo └─┘
pause
rem --- create \PLOT on the current drive.
echo
echo Creating directory %1\PLOT...
md %1\PLOT
echo
echo Copying FDplot files...
copy readme.doc %1\PLOT
copy install.bat %1\PLOT
copy *.bas %1\PLOT
copy *.exe %1\PLOT
copy register %1\PLOT
echo * Installation Complete - Remove Disk*
%1
cd %1\PLOT
setup
goto end
:noDriveSpecified
rem --- user didn't specify a drive letter followed by a colon.
echo
echo How to use INSTALL:
echo To install software on your hard disk, specify the drive to install
echo FDplot onto. For example, to install FDplot on drive C, type
echo "INSTALL C:" and press Enter.
goto end
:notOnThatDrive
rem --- user specified invalid drive letter.
echo
echo Installation Error: The hard drive letter must be a letter from C to F,
echo and must be followed by a colon. For example, "INSTALL C:" will install
echo FDplot on drive C.
:end
echo