I wrote the following script:
FileInstall("c:\temp\Sage_run_11.reg", @TempDir & "\Sage_run_11.reg", 1)
ShellExecute ( "regedit", "/s Sage_run_11.reg" , "", "", @SW_HIDE )
ShellExecute ( "cleanmgr", "/sagerun:11" , "", "", @SW_HIDE )
FileDelete( @TempDir & "\Sage_run_11.reg" )
And now the question. Cleanmgr Call another program (Disc Cleanup). How to hide or move this Active Window, so the user can't abort operation?
Regards,
Grega Globočnik