home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
kis1193l.zip
/
EVENT.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-11-27
|
1KB
|
49 lines
SET WCNODEID=9
c:
echo mails here >c:\event\mail_in
echo running >c:\event\running
:START
if exist c:\fd\files\fnews*.* GOTO fidonews
If exist c:\event\dupes GOTO dupes
If exist c:\event\scan GOTO scan
If exist c:\event\toss GOTO toss
If exist c:\event\mail_nex REN c:\event\mail_nex c:\event\mail_in
if exist c:\event\mail_in GOTO toss
GOTO end
:FIDONEWS
REM Export FIDONews to all nodes
cdd c:\fd
if exist c:\fd\files\fnews*.* call fidonews
GOTO start
:TOSS
cd c:\wm
wm toss areamgr netmail -q
cd c:\wc30
if exist c:\event\mail_in del c:\event\mail_in
if exist c:\event\toss del c:\event\toss
GOTO start
:SCAN
cd c:\wm
wm scan netmail -q
if exist c:\event\mail_in del c:\event\mail_in
del c:\event\scan
GOTO start
:DUPES
c:
cd c:\wc30
dupmsg
del c:\event\dupes
GOTO start
:END
del c:\event\running
del c:\event\run
del c:\event\run1
exit