Disk Cleanup and system restore batch file question

filipmike33

Posts: 34   +0
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)
 
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.
 
Back