echo off
a:
cd\
:chk1
if EXIST tgexist.com goto ok1
echo
echo Please insert Tallgrass Tape Installation diskette in drive A:
echo
pause
goto chk1
:ok1
cls
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ │
echo │ Tallgrass Tape Installation Program │
echo │ Version 3.1A │
echo │ (c) Copyright 1986 Tallgrass Technologies │
echo │ │
echo ├─────────────────────────────────────────────────────────────────────────────┤
echo │ │
echo │ This utility copies the tape software that is needed to run │
echo │ your new tape system. It creates a subdirectory called TG │
echo │ on your hard disk and transfers the Tallgrass tape software │
echo │ directory. │
echo │ │
echo │ As this installation continues, you will be asked to insert │
echo │ additional diskettes. Just follow the screen prompts and in │
echo │ a short time your tape system will be ready to use. │
echo │ │
echo │ If you find you need a special setup, refer to "Setting Up │
echo │ Tallgrass Software Version 3.x with Your System". │
echo │ │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo
rem Prompt user before continuing.
rem
prom N Y 55 Do you wish to continue with this installation? (Y/N)
if NOT ERRORLEVEL 1 goto done
cls
rem Please note that the some of the following echo statements have an
rem invisible character to help spread out the screen.
echo
rem Prompt user to enter drive letter.
getdrive
echo
rem Execute Tinstal2 with proper parameter
if ERRORLEVEL 25 tinstal2 Z
if ERRORLEVEL 24 tinstal2 Y
if ERRORLEVEL 23 tinstal2 X
if ERRORLEVEL 22 tinstal2 W
if ERRORLEVEL 21 tinstal2 V
if ERRORLEVEL 20 tinstal2 U
if ERRORLEVEL 19 tinstal2 T
if ERRORLEVEL 18 tinstal2 S
if ERRORLEVEL 17 tinstal2 R
if ERRORLEVEL 16 tinstal2 Q
if ERRORLEVEL 15 tinstal2 P
if ERRORLEVEL 14 tinstal2 O
if ERRORLEVEL 13 tinstal2 N
if ERRORLEVEL 12 tinstal2 M
if ERRORLEVEL 11 tinstal2 L
if ERRORLEVEL 10 tinstal2 K
if ERRORLEVEL 9 tinstal2 J
if ERRORLEVEL 8 tinstal2 I
if ERRORLEVEL 7 tinstal2 H
if ERRORLEVEL 6 tinstal2 G
if ERRORLEVEL 5 tinstal2 F
if ERRORLEVEL 4 tinstal2 E
if ERRORLEVEL 3 tinstal2 D
if ERRORLEVEL 2 tinstal2 C
:done
cls
echo
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ │
echo │ │
echo │ │
echo │ │
echo │ │
echo │ │
echo │ You have cancelled the automatic installation procedure. │
echo │ │
echo │ Tallgrass software has not been installed on the hard disk. │
echo │ │
echo │ Please do not use the Tallgrass system until the software │
echo │ │
echo │ has been installed. If you find you need a special setup, │
echo │ │
echo │ refer to "Setting Up Tallgrass Software Version 3.x with │
echo │ │
echo │ Your System". │
echo │ │
echo │ │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo