Subj : Re: Executing mail upon arrival
To   : Allen Prunty
From : Nicholas Boel
Date : Wed Nov 02 2016 07:17 am

Hello Allen,

On 01 Nov 16 21:04, Allen Prunty wrote to Mike Miller:

AP>>> I had it working once, alas I have broke it.  How do I get
AP>>> binkd to run a batch after mail reception.  I have this in my
AP>>> config.

AP>>> exec !@"c:\\binkd\\toss.bat" c:\\in\\*.pkt

MM>>  Mine is set up like this for Linux:

MM>> exec "/sbbs/exec/sbbsecho /sbbs/ctrl/sbbsecho.ini" *.su? *.mo?
MM>> *.tu? *.we? *.th? *.fr? *.sa? *.pkt *.PKT exec
MM>> "/sbbs/exec/ticin.sh" *.tic *.TIC

MM>> I don't think you need the full path/filename with complicated
MM>> regex unless you're expecting other files to get dumped in
MM>> there.  Also, I don't think you need "!@"

AP> Windows has a few more requirements from what I am reading th !@
AP> tells it to ! Execute immediately and @ open a window and hide it to
AP> do it.

They are not "requirements", but only options. "!" will run that exec line
after /every/ .pkt that arrives. You don't want that. You want that exec line
to run after all packets/files are recieved from the current connection.
Removing the "!" will do that. "@" I have honestly never seen used, and you
probably don't want a new window to be opened every time this happens, as it
should run in the background. So you can safely omit both of those and you
should see a faster/smoother process.

Regards,
Nick

... "Не знаю. Я здесь только работаю."
--- GoldED+/LNX 1.1.5-b20160827
* Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)