home *** CD-ROM | disk | FTP | other *** search
- CLS
- @Echo off
- :Initialize
- C:\UTIL\ANSI.COM
- Set DSZPORT=1
- Set DSZLOG=\RA1\DSZ.LOG
- Set TCNODE=1
- Set TASK=1
- Set FD=C:\FD
- C:\UTIL\BNU.COM /F /L0:57600 /Z2 /T:2048 /R:2048
- C:\UTIL\FDFIXW4W.COM
- rem C:\UTIL\X00.EXE B,0,57600 T=1024 R=1024 FIFO=8 E
-
- :Start
- CD\RA1
- If exist C:\RA1\DOBBS1.BAT Del C:\RA1\DOBBS1.BAT
- If exist C:\FD\FLAGS\NEWMAIL.FLG goto NewMail
-
- FD.EXE
- if errorlevel 200 goto BBS
- if errorlevel 103 goto Maint
- if errorlevel 101 goto NewMail
- if errorlevel 35 goto Local
- if errorlevel 10 goto End
- If errorlevel 3 goto Scan
-
- :BBS
- DoBBS1
-
- :Local
- RA -L -N1 -E0
- If exist C:\RA2\HSLINK.* Del C:\RA2\HSLINK.*
- If errorlevel 3 goto Scan
- Goto Start
-
- :Scan
- FastEcho Scan -N
- FastEcho Pack -RC:\FECHO\ROUTE.FE
- Goto Start
-
- :Maint
- Echo FDFREEZE.2 > C:\FD\FLAGS\FDFREEZE.2
- :Wait
- If not Exist C:\FD\FLAGS\FDFROZEN.2 Goto Wait
-
- CD\RA
- Del C:\NEWRA\RAUSANEW.*
- RAFile Filelist C:\NEWRA\RAUSANEW.LST /S50 /D7 /BFileNew.hdr /FFileNew.ftr
- PKZIP C:\NEWRA\RAUSANEW.ZIP C:\NEWRA\RAUSANEW.LST
- RAFile Update RAUSANEW.ZIP 1 Touch
- Del C:\NEWRA\RA-USA.*
- RAFile Filelist C:\NEWRA\RA-USA.LST /S50 /BFilelist.hdr /FFilelist.ftr /NoHdr
- PKZIP C:\NEWRA\RA-USA.ZIP C:\NEWRA\RA-USA.LST
- RAFile Update RA-USA.ZIP 1 Touch
- RAMSG Link -Clean -Hudson
- RAMSG Pack -Purge -Delete -Recover -Renumber -Force -Link
- Del C:\FD\FLAGS\FDFREEZE.2
- Goto Start
-
- :NewMail
- If Exist C:\FD\FLAGS\NEWMAIL.FLG Del C:\FD\FLAGS\NEWMAIL.FLG
- FastEcho Toss
- FeUtil Import
- FastEcho Pack -RC:\FECHO\ROUTE.FE
- Goto Start
-
- :end
-
-