| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Mass confusion? |
On 28 Dec 97 at 20:25, Kim Lykkegaard (2:235/203.26) wrote to Steven Horn:
KL> I don't recall see any errorlevel in the source code for this
KL> purpose... hmm nope a quick look in all file after exit() revel some
KL> different exit level 0 and -1 (non zero), but none for mail export,
There are error levels referenced for this in the 4.10 docs. See section
C2. COMMAND LINE. The error level when exiting with new netmail is 1 and
with new echomail is 2.
KL> BUT you can do like I do in my bat file:
KL> ----- ED.BAT begins -----
KL> echo off
KL> msged
KL> cd\sq
KL> if exist echotoss.log goto scan
KL> goto stop:
KL> :scan
KL> sq386 OUT -fechotoss.log
KL> sq386 squash
KL> del echotoss.log
KL> :stop
KL> cd \bc\sovs\msged\bin
KL> ----- ED.BAT ends -----
KL> It does demand you have this line in your msged.cfg:
KL> TossLog g:\sq\echotoss.log
KL> Or something like that - of course :)
The problem with that solution is that it does not deal with netmail. The
one I use looks like this:
----- readmsg.bat begins -----
{at}echo off
{at}rem batch file for use with msgEd message editor
c:
cd c:\binkley
msged.exe
if errorlevel 5 goto end
if errorlevel 3 goto export
if errorlevel 2 goto export
if errorlevel 1 goto pack
if errorlevel 0 goto end
:export
c:
cd c:\binkley
sq386 out squash -fc:\fidomail\msg\areas.lst
goto end
:pack
c:
cd c:\binkley
sq386 squash
goto end
:end
del c:\fidomail\msg\areas.lst
cd\
exit ----- readmsg.bat ends -----
It seems to work reasonably well.
Take care,
Steven Horn (shorn{at}yknet.yk.ca)
Moderator, CAN_SYSLAW
--- Msged 4.20 beta 2
* Origin: Yukon Mail, Whitehorse, Canada (1:3409/1)SEEN-BY: 270/101 104 396/1 600/675 622/419 632/107 633/260 267 270 359 371 SEEN-BY: 635/506 728 639/252 670/218 3615/50 @PATH: 3409/1 138/146 270/101 633/359 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™.