home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / NCV30B.ZIP / CHKMAIL.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-10-23  |  342 b   |  16 lines

  1. echo off
  2. rem    This batch file checks for and sends any outgoing MCI mail
  3. mcidrivr /n
  4. :waitgo
  5. mcidrivr /s
  6. rem    Loop until communications starts up
  7. if errorlevel 1 goto waitstop
  8. goto waitgo
  9. :waitstop
  10. mcidrivr /s
  11. rem    Loop until communications done
  12. if errorlevel 1 goto waitstop
  13. :remove
  14. rem    Remove the driver from memory
  15. mcidrivr /x
  16.