home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 April / PCO_04_97.ISO / filesbbs / os2 / bos2_xr4.arj / THOMAS.ZIP / extmail.cmd < prev    next >
Encoding:
Text File  |  1996-12-23  |  472 b   |  18 lines

  1. @echo off
  2. rem %1 = speed of the computer-to-modem link rate in bps
  3. rem %2 = caller's connect rate reported by the modem
  4. rem %3 = the comm port in use (or in OS/2and Win32, the port handle in use)
  5. rem %4 = time to the next event in minutes
  6. rem %5 = errorlevel exit in your ExtrnMail statement(default 99) 
  7. rem %6 = extended info in the modem connect string (/ARQ, etc.)
  8.  
  9. if %5.==1. goto fax
  10. goto end
  11.  
  12. :fax
  13. cd fax
  14. frec -task%TASK% -p%3 -sWAIT_OK
  15. cd..
  16.  
  17. :end
  18.