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

  1. echo off
  2. echo TXT2MSG Single User Tracking...
  3.  
  4. rem   This batch is used to lookup the caller log entries for a given user
  5. rem   specified on the commandline.  This is useful if you want to check up
  6. rem   on a user but don't want to bother with an EVENT.SYS entry to do so.
  7. rem   I use this batch to check on users who appear to be acting suspicious
  8. rem   when I want to look at their caller log entries.  The report is sent
  9. rem   to the d:\conf\1\msgs messagebase.
  10.  
  11. rem   See also:  TRACKUSR.BAT example batchfile.
  12.  
  13. if %1.==. goto ERROR
  14. if %2.==. goto ERROR
  15. if exist trackusr.$$$ del trackusr.$$$
  16. echo From: %1 %2>>trackusr.$$$
  17.  
  18. txt2msg d:\conf\1\msgs -qtrackusr.$$$ k:\all\stats\caller? -ril -s%1_%2_log
  19. goto END
  20.  
  21. :ERROR
  22. echo  ERROR!  This batchfile requires that you include a username on the
  23. echo  commandline for TXT2MSG to search the callers logs for.  The username
  24. echo  _must_ be specified and in ALL CAPS for the search to be effective.
  25. echo  %0: Abend
  26.  
  27. :END
  28. if exist trackusr.$$$ del trackusr.$$$
  29.  
  30.