home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / HILFEN / MODEM / SALES / MISC.XXX / TX2MB220.ZIP / ABNORMAL.BAT next >
DOS Batch File  |  1991-03-10  |  777b  |  21 lines

  1. echo off
  2. rem ┌─────────────────────────────────────────────────────────────────────────┐
  3. rem │ This batch file uses a public domain GREP utility to search the daily   │
  4. rem │ caller logs for abnormal disconnects, sorts them by name, then uses     │
  5. rem │ TXT2MSG to insert the report to the Main Board conference as a R/O (-r) │
  6. rem │ message to the "SYSOP" (with tagline (-i)) from "Abnormal Processing"   │
  7. rem └─────────────────────────────────────────────────────────────────────────┘
  8.  
  9. k:
  10. cd\all\logs
  11. echo Grepping abnormal logoffs from log files into Abnormal.log
  12. grep Abnormal caller1 caller2 >Abnormal.t1
  13. sort <Abnormal.t1  >Abnormal.log /+22
  14.  
  15. TXT2MSG k:\conf\main Abnormal.log "-fAbnormal Processing" -ri
  16.  
  17. del abnormal.t1
  18. del abnormal.log
  19. c:
  20. cd\pcb
  21.