home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / HATCH / SINM10B2.ZIP / POLL.BAT < prev    next >
DOS Batch File  |  1996-07-25  |  2KB  |  64 lines

  1. ECHO SinMail POLL.BAT file
  2.  
  3. @ECHO OFF
  4. REM lines with %WWIV_INSTANCE% can be uncommented for multinode support
  5. REM lines with %1 can be uncommented to support command line switches
  6. REM lines with \WWIV\BROADCAS are used with Singe's BroadCast utility,
  7. REM   which comes on-disk with the registered version of SinMail.
  8. REM lines with SET FXUUCP can be uncommented to help ease environment space,
  9. REM   if you're using FXUUCP as your UUCICO program.
  10.  
  11. REM set fxuucp=c:\sinmail\fxuucp.cfg
  12.  
  13. c:
  14. cd \sinmail
  15.  
  16. REM if "%WWIV_INSTANCE%"=="1" copy fxuucp.1 fxuucp.cfg > nul
  17. REM if "%WWIV_INSTANCE%"=="2" copy fxuucp.2 fxuucp.cfg > nul
  18. REM if "%1"=="1" copy fxuucp.1 fxuucp.cfg > nul
  19. REM if "%1"=="2" copy fxuucp.2 fxuucp.cfg > nul
  20.  
  21. sinmail smout /d4 /l3
  22. if errorlevel==2 echo errorlevel is greater than 2
  23. if errorlevel==1 goto smoutproblem
  24.  
  25. uucico -sall
  26. if errorlevel==2 echo errorlevel is greater than 2
  27. if errorlevel==1 goto problem
  28.  
  29. REM if "%WWIV_INSTANCE%"=="1" echo ATH1 > com1
  30. REM if "%WWIV_INSTANCE%"=="2" echo ATH1 > com2
  31.  
  32. REM \wwiv\broadcas Internet processing begun.
  33.  
  34. sinmail uuxqt /d4 /l3
  35. if errorlevel==2 echo errorlevel is greater than 2
  36. if errorlevel==1 goto uuxqtproblem
  37.  
  38. REM \wwiv\broadcas Internet processing complete.
  39.  
  40. goto end
  41.  
  42. :problem
  43. echo ***** [: There was a problem with UUCICO
  44. goto end
  45.  
  46. :uuxqtproblem
  47. echo **** [: There was a problem with SinMail in UUXQT mode
  48. goto end
  49.  
  50. :smoutproblem
  51. echo **** [: There was a problem with SinMail in SMOUT mode
  52. goto end
  53.  
  54. :end
  55. cd \wwiv
  56.  
  57. REM if "%WWIV_INSTANCE%"=="1" echo ATH0 > com1
  58. REM if "%WWIV_INSTANCE%"=="2" echo ATH0 > com2
  59.  
  60. REM uncomment the following line if you use FXUUCP and you want to clean
  61. REM   up some environment space.
  62.  
  63. REM set fxuucp=
  64.