I am Trying to Create an batch Script to do a Disk Cleanup then a Disk Defrag. I have got the Defrag part working ok but I am having problems trying to automate the diskcleanup script.
I want the script to be able to have no user input as it will be running over night when nobody is around to be selecting things. Is there a way of running the SageSet:n Command so that it memorises the input I give it so that if I run the SageRun:n Command and n = the same number it will run the Disk cleanup using the settings I predifined? Preferably I would like to do the Settings once and not have to keep on doing SageSet.