1. TechSpot is dedicated to computer enthusiasts and power users. Ask a question and give support. Join the community here.
    TechSpot is dedicated to computer enthusiasts and power users.
    Ask a question and give support.
    Join the community here, it only takes a minute.
    Dismiss Notice

Disk Cleanup and system restore batch file question

By filipmike33
Aug 6, 2014
Post New Reply
  1. Does anyone here know if there's a way to tell Disk Cleanup to generate a log for exporting purposes? My goal is to create a batch file that will query disk cleanup (no gui preferred) and generate a log.

    I was also wondering if theres a command to create a system restore without launching the GUI (batch file)
     
  2. jobeard

    jobeard TS Ambassador Posts: 10,432   +801

    Sys restore is the command line rstrui.exe
    but rstrui.exe /? does not give optional parms

    cleanmgr has the file list, but can't be exported as you must have discovered.
     

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...