Jump to content
Sign in to follow this  
mportal

event log removal script help pls

Recommended Posts

mportal

I need help with a script where upon compilation it will remove all event logs i cant seem to find anything about it, if someone can help me out ide appreciate it. it would save me some time at work.

Edited by wakrein

Share this post


Link to post
Share on other sites
Synct

What do you mean by "event logs" Can you be more descriptive? Logs of what? What program?

Edited by Synct

Share this post


Link to post
Share on other sites
wakillon

You can use

#include <file.au3>

_FileWriteLog ( @ScriptDir & "\my.log", "Text 1" & @Crlf )

for get events...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Synct

The way he phrased it sounded more like he meant logs from another application but he has yet to respond, who knows maybe your right.

Share this post


Link to post
Share on other sites
wakillon

The way he phrased it sounded more like he meant logs from another application but he has yet to respond, who knows maybe your right.

Yes, his question is not very clear...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Juvigy

I am guessing he wants to remove the audit logs from the event viewer.

Not sure why would want that - hide from the IT guys in the firm or

malicious coding.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.