Circular Logging Batch File - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 12-17-2007, 02:23 PM   #1 (permalink)
Newb Techie
Join Date: Dec 2007
Posts: 5
Default Circular Logging Batch File

Does anyone know of a way to implement Circular Logging in a batch file. I am trying to create a batch file that will copy the Event Logs to a user profile every day and delete all otehr files that are over 5 days old. Any ideas?

I will also post this in the Programming Forum as well.

mtbjunkie is offline  
Old 12-26-2007, 02:35 PM   #2 (permalink)
Monster Techie
Join Date: May 2004
Location: /usr/root/mn/us
Posts: 1,118
Default Re: Circular Logging Batch File

Take a look at this article on getting event logs via command line
Event Logging via Command Line

As far as deleting over 5 days old, you may want to look into using vbs instead of a batch file.

Its a frigging Laptop, not a Labtop!!!!
bla!! is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WTF is a Bad Block? MikesCreation Hardware Repairs and Troubleshooting 18 02-24-2008 08:31 PM
Hard Drive Errors!!! Bad or Faulty HDD? mike4realz Hardware Repairs and Troubleshooting 3 09-19-2007 12:56 AM
seagate 80gigs failing.. acuariano Hardware Repairs and Troubleshooting 27 08-27-2007 09:43 PM
Another Hijack Log boo HijackThis Logs (finished) 17 06-26-2007 11:30 AM
Batch file steak1986 Microsoft Windows and Software 6 04-11-2007 05:03 PM

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 12:33 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.