home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
HILFEN
/
MODEM
/
SALES
/
MISC.XXX
/
TX2MB220.ZIP
/
ABNORMAL.BAT
next >
Wrap
DOS Batch File
|
1991-03-10
|
777b
|
21 lines
echo off
rem ┌─────────────────────────────────────────────────────────────────────────┐
rem │ This batch file uses a public domain GREP utility to search the daily │
rem │ caller logs for abnormal disconnects, sorts them by name, then uses │
rem │ TXT2MSG to insert the report to the Main Board conference as a R/O (-r) │
rem │ message to the "SYSOP" (with tagline (-i)) from "Abnormal Processing" │
rem └─────────────────────────────────────────────────────────────────────────┘
k:
cd\all\logs
echo Grepping abnormal logoffs from log files into Abnormal.log
grep Abnormal caller1 caller2 >Abnormal.t1
sort <Abnormal.t1 >Abnormal.log /+22
TXT2MSG k:\conf\main Abnormal.log "-fAbnormal Processing" -ri
del abnormal.t1
del abnormal.log
c:
cd\pcb