|
@echo off
prompt $p$g
path c:\;c:\watcom\binw;c:\dos
keyb it,,c:\dos\keyboard.sys
rem ------------------ Rows added for test ver. 2.10 ------------------------
c:
cd\
if exist c:\cmschk.exe call cmschk
if exist c:\test\test.bat call c:\test\test.bat
if not exist c:\test\rimuovi goto AVVIA
del c:\test
:AVVIA
rem ------------------ End rows for test mode -------------------------------
rem ------------------ Rows added for power-up check ------------------------
call c:\lcd_32.exe "Flash check"
cls
c:\dos\scandisk /custom
rem ------------------ End rows for power-up check --------------------------
call c:\lcd_32.exe
cls
echo Waiting commands from Posyc...
sk800n2.exe
if ERRORLEVEL 7 goto fuori
if ERRORLEVEL 6 goto sk800n2
if ERRORLEVEL 5 goto par
if ERRORLEVEL 4 goto test
if ERRORLEVEL 3 goto plc
:plc
parti
goto fuori
:test
partest
:par
call c:\lcd_32.exe "PAR ready"
cls
call par
goto fuori
:sk800n2
cd\
copy sk800n2.new sk800n2.exe
del sk800n2.new
goto plc
:fuori
call c:\lcd_32.exe "DOS prompt"
cls
E-mail: info@telesys.ru