home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Gallery 1996 January
/
MG_0196.ISO
/
spea
/
install
/
stplus
/
util1
/
init1.bat
< prev
next >
Wrap
DOS Batch File
|
1995-07-17
|
2KB
|
79 lines
@echo off
%1:
cd %2
set gdc=%1:%2
if exist showtime.ini goto test
:init
stinit
if errorlevel 3 goto nospea
if errorlevel 2 goto noshowtime
rem (ERRORLEVEL 1: ST. PLUS VL Interrupt nicht gespeichert oder ST. PLUS PCI)
rem (ERRORLEVEL 0: ST. PLUS VL Interrupt gespeichert)
:test
sttest /q
if errorlevel 3 goto noshowtime
if errorlevel 2 goto pcierror
if errorlevel 1 goto vlerror
if errorlevel 0 goto ok
:nospea
if %3$ == 2$ echo Keine SPEA Karte installiert!
if %3$ == 1$ echo No SPEA board installed!
goto abbruch
:noshowtime
if %3$ == 2$ echo Keine SHOWTIME PLUS Karte installiert!
if %3$ == 1$ echo No SHOWTIME PLUS board installed!
goto abbruch
:pcierror
if %3$ == 2$ echo SHOWTIME PLUS PCI: Falsche IRQ-Einstellung. Lesen Sie in Datei README
if %3$ == 2$ echo und in Anhang C ihres SHOWTIME PLUS Handbuches nach.
if %3$ == 1$ echo SHOWTIME PLUS PCI: Wrong IRQ setting. Please read the README file
if %3$ == 1$ echo and appendix C of your SHOWTIME PLUS manual.
goto abbruch
:vlerror
if %3$ == 2$ echo SHOWTIME PLUS VL: Falsche IRQ-Einstellung. Konfiguration wiederholen (j/n) ?
if %3$ == 1$ echo SHOWTIME PLUS VL: Wrong IRQ setting. Repeat configuration (y/n) ?
frage
rem "y":
if errorlevel 122 goto vlerror
if errorlevel 121 goto init
rem "n":
if errorlevel 111 goto vlerror
if errorlevel 110 goto abbruch
rem "j":
if errorlevel 107 goto vlerror
if errorlevel 106 goto init
rem "Y":
if errorlevel 90 goto vlerror
if errorlevel 89 goto init
rem "N":
if errorlevel 79 goto vlerror
if errorlevel 78 goto abbruch
rem "J":
if errorlevel 75 goto vlerror
if errorlevel 74 goto init
:ok
if %3$ == 2$ echo SHOWTIME PLUS: Konfiguration erfolgreich beendet.
if %3$ == 1$ echo SHOWTIME PLUS: Configuration successfully terminated.
goto initende
:abbruch
if %3$ == 2$ echo Konfiguration abgebrochen!
if %3$ == 1$ echo Configuration aborted!
pause
goto exit
:initende
if not %4$ == -0$ stmode %4
stmode
:exit