home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / email / qrep11.zip / QREP.BAT < prev    next >
DOS Batch File  |  1993-08-01  |  1KB  |  36 lines

  1. rem  ┌───────────────────────────────────────────────────────────────┐
  2. rem  │  Sample batch file to demonstrate the sequence of operations  │
  3. rem  │  involved in using QRep to generate a reply packet.           │
  4. rem  └───────────────────────────────────────────────────────────────┘
  5.  
  6. @echo off
  7.  
  8. cd \qrep
  9.  
  10. rem  ┌──────────────────────────────────────────────────────────────┐
  11. rem  │  Check QWK reply subdirectory to see if a .REP file exists.  │
  12. rem  │  If one does exist, then unpack it.                          │
  13. rem  └──────────────────────────────────────────────────────────────┘
  14.  
  15. if exist c:\qwk\bbsname.rep pkunzip -o c:\qwk\bbsname.rep
  16.  
  17. rem  ┌─────────────────────────────────────────────────────────────────┐
  18. rem  │  Run QRep for each conference to which replies are to be sent.  │
  19. rem  └─────────────────────────────────────────────────────────────────┘
  20.  
  21. qrep 1.qrp
  22. qrep 2.qrp
  23.  
  24. rem  ┌──────────────────────────────────────────┐
  25. rem  │  Pack the .MSG file into a .REP packet.  │
  26. rem  └──────────────────────────────────────────┘
  27.  
  28. pkzip -a -ex c:\qwk\bbsname.rep bbsname.msg
  29.  
  30. rem  ┌─────────────────────────────────────────────────────────────┐
  31. rem  │  Run Robocomm to call the BBS and upload the reply packet.  │
  32. rem  └─────────────────────────────────────────────────────────────┘
  33.  
  34. cd \robocomm
  35. robocomm -amail -r
  36.