home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ra / ramaint.zip / LOGPACK.BAT < prev    next >
DOS Batch File  |  1994-02-05  |  440b  |  12 lines

  1. if not exist c:\ra\oldlog.log goto make_log
  2. if not exist c:\ra\ystdy.log goto get_today
  3. copy c:\ra\oldlog.log + c:\ra\ystdy.log c:\ra\oldlog.log
  4. :get_today
  5. if exist c:\ra\callers.log copy c:\ra\callers.log c:\ra\ystdy.log
  6. del c:\ra\callers.log
  7. goto log_done
  8. :make_log
  9. if exist c:\ra\ystdy.log copy c:\ra\ystdy.log c:\ra\oldlog.log
  10. if exist c:\ra\callers.log copy c:\ra\callers.log c:\ra\ystdy.log
  11. del c:\ra\callers.log
  12. :log_done