home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / icom201b.zip / POSTMAIL.BAT < prev    next >
DOS Batch File  |  1994-06-06  |  2KB  |  31 lines

  1. @Echo off
  2. Echo off
  3. rem  This BAT file, if found in the ICOM home directory (locating it on the
  4. rem  PATH is insufficient) is automatically executed by Intellicomm after
  5. rem  finishing a job in which one or more MAIL downloads took place.  Its
  6. rem  intended purpose is to automatically carry out any routine maintenance
  7. rem  on newly downloaded mail packets.  I.e. if you have a program which
  8. rem  performs special functions on new mail packets, such as inserting in
  9. rem  a message base, or filtering certain messages, etc., place the required
  10. rem  command(s) below these remarks.
  11. rem
  12. rem  o If you don't want this BAT to run, simply remove it from ICOM's home
  13. rem    directory (where ICOM.EXE is located, or where the ICOM environment
  14. rem    variable points to), or rename it.
  15. rem
  16. rem  o You may also create PREMAIL.BAT to perform any routine tasks BEFORE mail
  17. rem    transfers.  And you can create scripts PREMAIL.SCR and POSTMAIL.SCR
  18. rem    (must be in the \ICOM\SCR directory) for more power and control.
  19. rem
  20. rem  o NOTE that Intellicomm automatically changes to the global (main setup)
  21. rem    Message Directory before calling this BAT, so you needn't do a CHDIR
  22. rem    here unless you must perform work in another directory.
  23. rem
  24. rem  o Intellicomm passes your main Message Directory to this BAT as %1, and
  25. rem    your main Reply Directory as %2 (trailing slashes are auto-stripped from
  26. rem    directory names).  E.g. COPY *.* %2 copies all message packets to your
  27. rem    Reply Directory (%1 isn't needed in this command since Icom has already
  28. rem    done a CD to the Message Directory).
  29. rem
  30. Echo Rename POSTMAIL.BAT to POSTMAIL.BAK to bypass running of this file.
  31.