Metropoli BBS
VIEWER: lpoinsnb.bat MODE: TEXT (ASCII)
echo off
REM %%VER LPO Drivers Installation Utility Program v2.0c
..\install\flushkey
..\install\check videocard
if errorlevel 1 goto color
cls
goto contin
:color
..\install\get b 31
:contin
type ..\blank.men
..\install\echoxy 4 25 L P O	    M E N U
..\install\echoxy 6 18 Installing LinkPlus Optimizer on a NetBIOS Client
..\install\echoxy 8 10 To install the LinkPlus Optimizer you must have the
..\install\echoxy 9 10 drive designator for the target drive.

..\install\echoxy 11 24 Continue? (y/n):
..\install\reply
if errorlevel 122 goto inval
if errorlevel 121 goto getdrv
if errorlevel 111  goto inval
if errorlevel 110  goto lpo
if errorlevel 90  goto inval
if errorlevel 89  goto getdrv
if errorlevel 79  goto inval
if errorlevel 78  goto lpo
if errorlevel 60  goto inval
if errorlevel 59  goto help
if errorlevel 28  goto inval
if errorlevel 27  goto lpo
if errorlevel 1   goto inval

:getdrv
..\install\echoxy 13 10
..\install\get c "       Enter the target drive letter:  "

if errorlevel 127 goto inval
if errorlevel 126 goto lpo
if errorlevel 123 goto inval
if errorlevel 97  goto contin1
if errorlevel 91  goto inval
if errorlevel 65  goto contin1
if errorlevel 27 goto lpo
if errorlevel 1   goto inval

:contin1
if not exist %get%:\*.* goto baddrv
set tardrv=%get%:
if %tardrv%==A: goto warning
if %tardrv%==B: goto warning
goto nowarning
:warning
..\install\echoxy 13 10 WARNING: Floppy drive is not supported as the target
..\install\echoxy 14 15 	 drive on a single drive PC.

:nowarning

..\install\echoxy 16 10
..\install\get n  "       Install files on drive %tardrv% (y/n): "
if errorlevel 89 goto ok
\lpo\lpo

:ok
cls
\lpo\install netbios %tardrv%
pause
cd \lpo
\lpo\lpo

:inval
..\install\echoxy 21 17 **** Invalid key, try again. ****
echo 
echo 
echo.
lpoinsnb

:help
..\install\echoxy 24 1
echo.
type \lpo\lpoins.hlp
echo.
pause
lpoinsnb

:baddrv
echo 
echo 
..\install\echoxy 19 14 Invalid drive letter.
..\install\echoxy 21 13 Strike any key to continue.
..\install\reply

:lpo
lpo



[ RETURN TO DIRECTORY ]