On 6/24/05, Robert McIntyre <[EMAIL PROTECTED]> wrote: > Does anyone know of a way to delete some but not all entries from an event > log. > > I would like to create a script that would remove entries that are more then > 3 days old. > If you use this, or since its a perl script, you can clear all events, I cant see how to selectively clear, but maybe this will point you in the right direction. http://support.microsoft.com/default.aspx?scid=kb;en-us;318763#9
What are you trying to achieve? 'cause if you only wanted to see events newer than 3 days, win32::EventLog will let you filter on date _______________________________________________ Perl-Win32-Admin mailing list Perl-Win32-Admin@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs