home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / hqfax12.zip / BFSEND.BAT next >
DOS Batch File  |  1993-11-03  |  2KB  |  58 lines

  1. Echo off
  2. REM *********************************************************************/
  3. REM                                                                     */
  4. REM   SYSTEM       : HQ-FAX, Uitilities                                 */
  5. REM   COPYRIGHT    : (c) 1993 HTF CONSULTING                            */
  6. REM                                                                     */
  7. REM *********************************************************************/
  8. REM                                                                     */
  9. REM   BAT file name: BFSend.bat                                         */
  10. REM   DESCRIPTION  : This batch file drives the DOS command line send   */
  11. REM                  for the BitFax /SR by Bit Software                 */
  12. REM                  serving the following FAX modems:                  */
  13. REM                  Beta Race, AST, IBM, Logicode, Texas Instruments   */
  14. REM                  Zoltrix, etc.                                      */
  15. REM                                                                     */
  16. REM *********************************************************************/
  17. REM
  18. if %1 == 1 goto Covrsolo
  19. if %1 == 2 goto Docsolo
  20. if %1 == 3 goto CovrwDoc
  21. if %1 == 4 goto Docmany
  22. if %1 == 5 goto CDocmany
  23.  
  24. BITFAX -P%2 -F%1.BFX
  25. goto quit
  26.  
  27. :Covrsolo
  28. Echo Sending Cover letter solo to %3
  29. BITFAX -P%3 -FCovrletr.BFX
  30. goto quit
  31.  
  32.  
  33. :Docsolo
  34. Echo Sending Document %2 w/out cover letter to %3
  35. BITFAX -P%3 -F%2.BFX
  36. goto quit
  37.  
  38. :CovrwDoc
  39. Echo Sending Document "%2" with cover letter to %3
  40. BITFAX -P%3 -FCovrletr.BFX -F%2.BFX
  41. goto quit
  42.  
  43. :CDocmany
  44. Echo Sending multi-file document "%2" with cover letter  to %3
  45. Copy Covrletr.BFX %2.f00
  46. Erase Covrletr.BFX
  47. goto Preplist
  48.  
  49. :Docmany
  50. Echo Sending multi-file document "%2" w/out cover letter to %3
  51.  
  52. :Preplist
  53. Buildlst.exe %1 ##include=
  54. BITFAX -F%1.LST -P%2
  55.  
  56. :Quit
  57. Echo on
  58.