home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
vrac
/
faxhvn30.zip
/
BFSEND.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-03-14
|
2KB
|
65 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1993 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: BFSend.bat */
REM DESCRIPTION : This batch file drives the DOS command line send */
REM for the BitFax /SR by Bit Software */
REM serving the following FAX modems: */
REM Beta Race, AST, IBM, Logicode, Texas Instruments */
REM Zoltrix, etc. */
REM */
REM *********************************************************************/
REM
if %1 == 1 goto Covrsolo
if %1 == 2 goto Docsolo
if %1 == 3 goto CovrwDoc
if %1 == 4 goto Docmany
if %1 == 5 goto CDocmany
REM %1 isn't 1,2, or 3 - must be a file name
CLS
Echo Sending Document %1 w/out cover letter to %2
BITFAX -P%2 -F%1.BFX
goto quit
:Covrsolo
CLS
Echo Sending Cover letter solo to %3
BITFAX -P%3 -FCovrletr.BFX
goto quit
:Docsolo
CLS
Echo Sending Document %2 w/out cover letter to %3
BITFAX -P%3 -F%2.BFX
goto quit
:CovrwDoc
CLS
Echo Sending Document "%2" with cover letter to %3
BITFAX -P%3 -FCovrletr.BFX -F%2.BFX
goto quit
:CDocmany
CLS
Echo Sending multi-file document "%2" with cover letter to %3
Copy Covrletr.BFX %2.f00
Erase Covrletr.BFX
goto Preplist
:Docmany
CLS
Echo Sending multi-file document "%2" w/out cover letter to %3
:Preplist
Buildlst.exe %1 ##include=
BITFAX -F%1.LST -P%2
:Quit
Echo on