home *** CD-ROM | disk | FTP | other *** search
/ Software Recommendations - 1998 Season 1 / DNBCD4.iso / share / modem / BGFAX170 / SEND.BAT < prev    next >
Encoding:
DOS Batch File  |  1997-03-01  |  847 b   |  29 lines

  1. @echo off
  2. rem
  3. if %1. == . goto help
  4. goto continue
  5. :help
  6. echo  To use this batch file to send ASCII messages to a remote fax
  7. echo  location, from the DOS prompt, type "SEND filename.txt phonenumber"
  8. echo  Example: SEND HELLO.TXT 555-1212
  9. echo .
  10. echo  If you have not yet selected the com port, etc., modify BGFAX.CNF
  11. goto end
  12. rem
  13. :continue
  14. SET BGFAX=C:\BGFAX
  15. rem
  16. rem       change the above variable to the path of BGFAX program and CNF file
  17. rem
  18. MAKEFAX %1 OUTPUT.FAX /80
  19. rem
  20. rem  The /80 on Makefax uses 80-column line width, /132 is also available
  21. rem  If neither /80 or /132 are present, it assumes a 100 column width
  22. rem
  23. BGFAX /SEND:9600 OUTPUT.FAX %2 %3 %4 %5 %6 %7 %8 %9
  24. rem
  25. rem Change "BGFAX" to "BGFAX32" above if you want to use Win32 version!
  26. rem
  27. rem If BGFAX is SUCCESSFUL, it will exit with errorlevel 5
  28. :end
  29.