Metropoli BBS
VIEWER: diag.bat MODE: TEXT (ASCII)
echo off
REM %%VER EtherLink Plus Diagnostic Program v2.0d
if %mono%==y goto b&w
..\install\flushkey
..\install\check videocard
if errorlevel 1 goto color
:b&w
cls
goto contin
:color
..\install\get b 31
:contin
type diag.men
..\install\echoxy 19 18 Select Option:
..\install\reply
echo	   Please wait . . .
if errorlevel 60 goto inval
if errorlevel 59 goto help
if errorlevel 54 goto inval
if errorlevel 53 goto inval
if errorlevel 52 goto main
if errorlevel 51 goto vers
if errorlevel 50 goto info
if errorlevel 49 goto bnc
if errorlevel 28 goto inval
if errorlevel 27 goto main

:inval
echo 
echo 
echo.
echo **** Invalid key, try again. ****
diag

:help
echo.
echo.
type diag.hlp
pause
:diag
diag

:main
cd..
menu

:info
..\install\echoxy 23 2
echo.
type ..\blank.men
..\install\echoxy 4 22 D I A G N O S T I C   M E N U
..\install\echoxy 6 22 Diagnostic Program Text Files
..\install\echoxy 10 18 1. Print to LPT1
..\install\echoxy 11 21 LPT1 can be a local printer or a redirected
..\install\echoxy 12 21 network printer.
..\install\echoxy 14 18 2. Print to COM1
..\install\echoxy 15 21 Select option 2 only if you have a COM serial printer
..\install\echoxy 16 21 attached to your computer.
..\install\echoxy 18 18 3. Display text file on screen
..\install\echoxy 20 21 Select Option:
..\install\reply
echo	   Please wait . . .
if errorlevel 52 goto inval
if errorlevel 51 goto disp
if errorlevel 50 goto comprt
if errorlevel 49 goto lineprt
if errorlevel 28 goto inval
if errorlevel 27 goto diag

:disp
rem ..\install\echoxy 10 18 1. Display Instruct.txt
rem ..\install\echoxy 11 21
rem ..\install\echoxy 12 21
rem ..\install\echoxy 13 18 2. Display Trouble.txt
rem ..\install\echoxy 14 18
rem ..\install\echoxy 15 21
rem ..\install\echoxy 16 21
rem ..\install\echoxy 18 18
rem ..\install\echoxy 20 21
rem ..\install\echoxy 20 21 Select Option:
type \diag\diagtxt.men
..\install\echoxy 21 37
..\install\reply
echo	    Please wait . . .

if errorlevel 51 goto inval
if errorlevel 50 goto dis_tro
if errorlevel 49 goto dis_inst
if errorlevel 28 goto inval
if errorlevel 27 goto diag

:dis_inst
echo.
echo.
echo.
type instruct.txt | ..\install\more
pause
goto diag

:dis_tro
echo.
echo.
echo.
type trouble.txt | ..\install\more
pause
diag

:lineprt
..\install\get p
if not errorlevel 1 goto prterror
copy instruct.txt lpt1 > nul
copy trouble.txt lpt1 > nul
goto prtdone

:comprt
copy instruct.txt Com1: > nul
copy trouble.txt Com1: > nul

:prtdone
..\install\echoxy 18 15 The text files have been printed.
..\install\echoxy 19 15
pause
diag

:prterror
..\install\echoxy 18 15 ** Printing Error:  Unable To Locate Printer! **
..\install\echoxy 19 15
pause
diag

:bnc
\3c505
diag

:vers
echo.
type ..\line.men
..\install\echoxy 4 25 Diagnostic Program Versions
..\install\echoxy 10 0
..\install\showver \3c505.exe
..\install\echoxy 19 25
pause
diag





[ RETURN TO DIRECTORY ]