home *** CD-ROM | disk | FTP | other *** search
- Echo off
- Echo Clean.BAT running...
-
- :Clean
- Echo Cleaning things up around here...
- cd\XBBS
- XUSER DAYS 61
- if exist deleted.ids DEL deleted.ids
- cd\BT
- call MAIL.BAT
- cd\XBBS
- XMSG -AC:\XBBS\XMSG.CTL
- XMSGUTLS.EXE -B -V -FC:\XBBS\XMSGUTL.CTL
- cd\BT\Outbound
- erase *.?$?
-
- :NewDiff
- C:
- CD\BT\FILES
- if NOT EXIST NodeDiff.* goto End
- rename NodeDiff.* NodeDiff.arc
- REM save old nodediffs temporarily in case of error
- copy c:\XBBS\NodeDiff.* c:\temp
- del c:\XBBS\NodeDiff.*
- REM The Pkxarc being called is really GUS
- c:\bt\Pkxarc NodeDiff c:\XBBS
- Erase NodeDiff.*
- log c:\xbbs\xbbs.log Processing new nodediff
- cd\XBBS
- Echo Unpacking nodelist...
- pkxarc nodelist.arc
- if errorlevel == 1 goto NodeErr
- del nodelist.arc
- Echo Applying new nodeDiff...
- Parselst
- IndexUsr
- REM Get rid of all but newest nodelist
- FDEL Delete NODELIST.* 6 -N -D
- REM Keep the nodelist compressed to save disk space...
- pkarc m nodelist.arc nodelist.*
- if errorlevel == 1 goto NodeErr2
- goto End
-
- :NodeErr
- Log c:\xbbs\xbbs.log ERROR processing nodelist (uncompression)
- goto End
-
- :NodeErr2
- Log c:\xbbs\xbbs.log ERROR processing nodelist (compression)
-
- :End
- C:
- CD\BT
- Exit
-