TIP: Click on subject to list as thread! ANSI
echo: binkley
to: Dave Davidson
from: Lodewijk Otto
date: 1998-11-10 22:03:44
subject: Another Newbie question....

* Quoting a message of zondag 08 november 1998

 DD> What I need to do is have Binkley exit then call up a Win95
 DD> program to dial my ISP for the mail packet then reload Binkley.

 DD> (1) Is this even possible?

Yes. Binkley is primary run from a batch file. If in the binkley.evt E1 is
given a errorlevel [E1=10], then Binkley will exit at the start time of the
event that is currently running [or to be more precise governing binkey's
behaviour] with errorlevel 10. Your batch file should give directions on
which action to take.

 DD> (2) If so, how is it done?

Well, I just sort of explained it. I do not know if the Win95 environment
allows binkley to start batch-programs externally, like it can be done
under os/2. I am still running os/2 here [but it will be linux in the near
future].

Event file:

>
;
Event "run0" All 00:00 06:00   C B       E2=20 E3=30
Event "ISP"  All 06:00 06:00 F C B E1=10
Event "run1" All 06:00 24:00   C B  E2=20 E3=30
;
>

Batch file:

>
:start

c:\binkley\bt.exe

if errorlevel = 250 goto gone
if errorlevel = 30 goto mailin
if errorlevel = 20 goto mailin
if errorlevel = 10 goto isp
goto start

:mailin
c:\tosser\toss.exe
goto start

:isp
call c:\batch\isp.bat
goto start

:gone
>

 Lodewijk.  (lpotto{at}xs4all.nl)

---
* Origin: Mad Cat, Breugel NL [+31-499-460548] (2:284/420)
SEEN-BY: 396/1 632/0 371 633/260 267 270 284 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 284/420 2 5 280/801 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.