New
#1
/cleanmgr /sagerun in batch scripts
So I've been working on a batch file that basically is like a homemade junk file cleaner and I really really really want to add
" cleanmgr /sagerun " to it and it works well, BUT, what happens is that when I let the script run and it gets to that line, after disc cleanup completes, the window(s) hang and the script stops in its tracks until I mouse over the windows, my question is that , is there a command I can add that can detect non-responsive window hangs, or something like that to force the script to keep going?