home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / FDW95FAQ.ZIP / RA2.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-09-25  |  858 b   |  44 lines

  1. CLS
  2. @Echo off
  3.  
  4. :Initialize
  5.    C:\UTIL\ANSI.COM
  6.    Set DSZPORT=2
  7.    Set DSZLOG=\RA2\DSZ.LOG
  8.    Set FD=C:\FD2
  9.    Set TASK=2
  10.    C:\UTIL\BNU.COM /F /L1:38400 /Z2 /T:2048 /R:2048
  11.    C:\UTIL\FDFIXW4W.COM
  12.    rem C:\UTIL\X00.EXE B,1,38400 T=1024 R=1024 FIFO=8 E
  13.  
  14. :Start
  15.    CD\RA2
  16.    If exist C:\RA2\DOBBS2.BAT Del C:\RA2\DOBBS2.BAT 
  17.    If exist C:\RA2\HSLINK.* Del C:\RA2\HSLINK.*
  18.  
  19.    RA -MC:\FD\FD.EXE*M -C2 -N2 -E0
  20.    if errorlevel 103 goto Start
  21.    if errorlevel 101 goto NewMail
  22.    if errorlevel 35 goto Local
  23.    if errorlevel 10 goto End
  24.    If errorlevel 3 goto Scan
  25.    Goto Start
  26.  
  27. :Local
  28.    RA -L -N2 -E0
  29.    If errorlevel 3 goto Scan
  30.    Goto Start
  31.  
  32. :Scan
  33.    FastEcho Scan -N
  34.    FastEcho Pack -RC:\FECHO\ROUTE.FE
  35.    Goto Start
  36.  
  37. :NewMail
  38.    Echo ... > C:\FD\FLAGS\NEWMAIL.FLG
  39.    Goto Start
  40.  
  41. :end
  42.    Echo ATM0H1 > COM2
  43.  
  44.