home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
vrac
/
faxhvn30.zip
/
XXSEND.BAT
< prev
Wrap
DOS Batch File
|
1993-11-03
|
2KB
|
50 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1993 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: XXSend.bat */
REM DESCRIPTION : Here's the model command for FAX modem brand X. */
REM Alter the command below to the exact Send command */
REM specified in your FAX modem user's manual */
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
:Covrsolo
Echo Sending Cover letter solo to %3
SENDFAX.exe Covrletr.FAX %3 %4 %5 %6
goto quit
:Docsolo
Echo Sending Document %2 w/out cover letter to %3
SENDFAX.exe %2.FAX %3 %4 %5 %6
goto quit
:CovrwDoc
Echo Sending Document "%2" with cover letter to %3
SENDFAX.exe Covrletr.FAX %3 %4 %5 %6
SENDFAX.exe %2.FAX %3 %4 %5 %6
:CDocmany
Echo Sending multi-file document "%2" with cover letter to %3
Copy Covrletr.FAX %2.f00
Erase Covrletr.FAX
goto Sendit
:Docmany
Echo Sending multi-file document "%2" w/out cover letter to %3
:Sendit
SENDFAX.exe %2.F* %3 %4 %5 %6
:quit
Echo on