home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / HILFEN / MODEM / SALES / MISC.XXX / TX2MB220.ZIP / LOGMAIL.BAT < prev    next >
DOS Batch File  |  1991-03-10  |  2KB  |  27 lines

  1. echo off
  2. rem ┌────────────────────────────────────────────────────────────────────────┐
  3. rem │ This batch file is run after the normal mailrun to the host system.    │
  4. rem │                                                                        │
  5. rem │ Takes any VERBOSE.* files and imports them as public messages to show  │
  6. rem │ what mail has been processed.  Also takes REPORT.LOG and enters it as  │
  7. rem │ a R/O message to the Sysop to show activity over a period of time.     │
  8. rem │                                                                        │
  9. rem │ The VERBOSE.* file(s) are then moved to an OFF-LINE directory for      │
  10. rem │ reference in case of mail operation problems.                          │
  11. rem └────────────────────────────────────────────────────────────────────────┘
  12.  
  13. rem ┌────────────────────────────────────────────────────────────────────────┐
  14. rem │ Note: the "default" operation is different because of a SET statement  │
  15. rem │ in the calling batch file (EVENTSYS.BAT example).  For reference, that │
  16. rem │ statement is "SET TXT2MSG=-rin -fEvent_Process".  Note the use of      │
  17. rem │ switches in the first example below to force a message public and from │
  18. rem │ SYSOP which overrides the environment setting in EVENTSYS.BAT while    │
  19. rem │ the second TXT2MSG line will result in a R/O from EVENT PROCESS.       │
  20. rem └────────────────────────────────────────────────────────────────────────┘
  21.  
  22. TXT2MSG k:\conf\main\msgs d:\rnet\verbose.* -p -fSYSOP -tALL
  23. copy d:\rnet\verbose.* d:\rnet\off-line
  24. del d:\rnet\verbose.*
  25.  
  26. TXT2MSG k:\conf\main\msgs d:\rnet\report.log
  27.