home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 12
/
BUGCD1998_03.ISO
/
internet
/
arachne
/
arachne.exe
/
KLOS.TPL
< prev
next >
Wrap
Text File
|
1997-10-15
|
2KB
|
57 lines
@echo off
break=off
rem --- Arachne is *.BAT which will make your PC survive to 21st century ---
rem --- (c)1996,1997 xChaos software, URL: http://www.naf.cz/arachne/ ---
if (%1)==(-r) goto start
if (%1)==(-c) goto start
if (%1)==(-rg) goto start
if (%1)==(-cg) goto start
if (%1)==(-o) goto online
if (%1)==(-u) goto unload
if not exist pppmenu.exe goto start
if (%KLOS%)==(LOADED) goto start
rem --- These KLOS PPP resident utilities can be loaded to high memory: ---
rem Try 'lh lsl.com' or 'hiload lsl.com' (hiload is used in OpenDOS)
lsl.com
rem Try 'lh ppp.exe' or 'hiload ppp.exe'
ppp.exe
rem Try 'lh ipstub.exe 0x60' or 'hiload ipstub.exe 0x60'
ipstub.exe 0x60
set KLOS=LOADED
rem --- This batch file works with core.exe version 1.0 beta 8 or higher ---
:start
core.exe %1 %2
if errorlevel 128 goto end
if errorlevel 64 goto execute
:again
core.exe fatal.ah
if errorlevel 128 goto end
if errorlevel 64 goto execute
goto again
:online
if exist pppwat.exe pppwat.exe
goto start
:unload
if exist ppp.log goto termin
if not exist pppmenu.exe goto end
ipstub.exe 0x60 unload
ppp.exe u
lsl.com u
set KLOS=
goto end
:termin
termin.com 0x60
del ppp.log
goto end
:execute
$roura$.bat
cls
echo Abnormal Arachne termination. Please reboot system and/or restart Arachne.
:end
if exist $roura$.bat del $roura$.bat
if exist *._$b del *._$b
if exist ip-up.bat del ip-up.bat
if exist ppp.log echo Type 'arachne -u' to terminate SLIP/PPP connection.
if (%KLOS%)==(LOADED) echo Type 'arachne -u' to unload KlosPPP from memory.
echo.