how to clear event viewer logs through batch file

Posted on 2009-04-27
Last Modified: 2012-05-06
i want to clear all logs of event viewer and temp files from the batch file
Question by:get000sumit
    LVL 28

    Accepted Solution

    Can't do it from batch file code, that I've fgound, but a simple VBScript call can do it quickly:
    LVL 47

    Assisted Solution

    Sure can !! :-)
     Backup And Clear Event Logs... ( Command )
    LVL 38

    Assisted Solution

    I assume that you are aware that doing this will further reduce your chances of discovering what version of MS Office you just uninstalled:
    LVL 47

    Expert Comment

    You have 12 questions open and havent responded to any of them? This website goes both ways, you need to interact.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
    Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now