home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 August / PCO0897.ISO / filesbbs / os2 / bos2_xr5.arj / BOS2_XR5.ZIP / thomas / extmail.cmd < prev    next >
Encoding:
Text File  |  1997-06-09  |  473 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/2 and 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.