how to clear event viewer logs through batch file

i want to clear all logs of event viewer and temp files from the batch file
Who is Participating?
Bill BachPresidentCommented:
Can't do it from batch file code, that I've fgound, but a simple VBScript call can do it quickly:
DonNetwork AdministratorCommented:
Sure can !! :-)
 Backup And Clear Event Logs... ( Command ) 
I assume that you are aware that doing this will further reduce your chances of discovering what version of MS Office you just uninstalled:
DonNetwork AdministratorCommented:
You have 12 questions open and havent responded to any of them? This website goes both ways, you need to interact.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.