home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem
- rem To use this batch file to send ASCII messages to a remote fax
- rem location, from the DOS prompt, type "SEND filename.txt phonenumber"
- rem Example: SEND HELLO.TXT 555-1212
- rem
- rem If you have not yet selected the com port, etc., modify BGFAX.CNF
- rem
- SET BGFAX=C:\BGFAX
- rem
- rem change the above variable to the path of BGFAX program and CNF file
- rem
- MAKEFAX %1 OUTPUT.FAX /80
- rem
- rem The /80 on Makefax uses 80-column line width, /132 is also available
- rem If neither /80 or /132 are present, it assumes a 100 column width
- rem
- BGFAX /SEND:9600 OUTPUT.FAX %2 %3 %4 %5 %6 %7 %8 %9
- rem
- rem If BGFAX is SUCCESSFUL, it will exit with errorlevel 5
-