I've designed a small batch file to clean out an XP laptop every time on close.
%SystemRoot%System32Cmd.exe /c Cleanmgr /sageset:35 & Cleanmgr /sagerun:35
echo y|chkntfs c:
The first line is to bring up the Extended Disk Clean. It does, but the Disk Clean has to be operated by clicking "Okay," rather than just automatically starting.
I am wondering if there is a command I can put it into the batch file to start the Disk Clean automatically when it appears?
Thanks very much,