home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / GM-20.ZIP / FD-SETUP.ZIP / CATS.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-06-21  |  1.2 KB  |  90 lines

  1. :start
  2.  echo off
  3.  ctty con
  4.  c:
  5.  cd\wc40
  6.  cd c:\fd
  7.  fd
  8.  if errorlevel 99 goto Local_cat
  9.  if errorlevel 97 goto telix
  10.  if errorlevel 87 goto Process_mail
  11.  if errorlevel 81 goto pack_mail
  12.  if errorlevel 55 goto event_one
  13.  if errorlevel 45 goto 2400_baud
  14.  if errorlevel 40 goto 1200_baud
  15.  if errorlevel 34 goto 300_baud
  16.  if errorlevel 10 goto done
  17.  goto done
  18.  
  19. :pack_mail
  20.  echo ATH1 > COM2
  21.  cd\fd\gomail
  22.  gomail scan
  23.  cd\fd
  24.  goto start
  25.  
  26.  
  27. :process_mail
  28.  echo ATH1 > com2
  29.  CD\FD\gomail
  30.  gomail toss scan
  31.  Goto start
  32.  
  33. :2400_baud
  34.  set WCPORTID=2
  35.  cd c:\wc40
  36.  wildcat /b 2400
  37.  goto after_cat
  38.  
  39. :1200_baud
  40.  SET WCPORTID=2
  41.  cd c:\wc40
  42.  wildcat /b 1200
  43.  goto after_cat
  44.  
  45. :300_baud
  46.  SET WCPORTID=2
  47.  cd c:\wc40
  48.  wildcat /b 300
  49.  goto after_cat
  50.  
  51. :Local_cat
  52.  echo ATH1 > com2
  53.  set wcportid=0
  54.  cd c:\wc40
  55.  wildcat /b local
  56.  goto after_cat
  57.  
  58.  
  59. :after_cat
  60.  ECHO ATH1m0 > COM2
  61.  cd\wc40
  62.  WCTODAY /L /H9
  63.  goto start
  64.  
  65. :event_one
  66.  ECHO ATH1 > COM2
  67.  cd\wc40
  68.  ustat
  69.  wcpro stats.pro
  70.  cd\dr\svrd
  71.  smaint
  72.  smaint2
  73.  cd\fd
  74.  FMS.EXE
  75.  DEL ACTIVITY.LOG
  76.  goto start
  77.  
  78.  
  79.  
  80. :telix
  81.  D:
  82.  CD\TELIX
  83.  telix.exe
  84.  copy c:\files\*.qw* e:\slmr\files
  85.  goto start
  86.  
  87.  
  88. :done
  89.  echo ATH1 > com2
  90.