Use cleanmgr in the taskmgr... how ?

yes ! me again ! I would like to automate this little utility but when you execute cleanmgr, a window appear and ask for which drive. . . If I want to use it in an automated way, it has to start by itself i tried cleanmgr -? and cleanmgr c: dont work.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar20.webp

14 Posts
Location -
Joined 2002-03-24
yes ! me again !
 
I would like to automate this little utility but when you execute cleanmgr, a window appear and ask for which drive...
 
If I want to use it in an automated way, it has to start by itself
 
i tried cleanmgr -? and cleanmgr c:
 
dont work... ne1 has a solution ?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar28.webp

74 Posts
Location -
Joined 2001-01-14
MaxQc,
 
You could try using WSH (Windows Script Host), this could enter the info when a specific window pops-up.
 
I'm sorry I don't have any further info., I know it can be done.
 
http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28001169
http://www.jsiinc.com/subf/tip2500/rh2532.htm
 
There is an old (1998!) utility that you may want to check out:
http://www.microsoft.com/technet/treevie...ds/scriptit.asp