"Muso" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi people
>
> I would like to delete folders using a wildcard from command prompt;
> but I see that the RD command doesn't support wildcards, and DELTREE
> no longer exists on WINXP.
>
> Specifically, our PC's are very short on hard drive space, and I'm
> claiming back some by deleting the uninstall files for Microsoft
> updates (the $NtUninstallxxxxx folders that live in the WINNT folder).
> I'm not actually uninstalling the updates, just deleting the uninstall
> files. If the updates cause a problem, we can always re-image that
> machine.
>
> Is there another command or script I can use to delete multiple
> folders using wildcards? Or is there a free program that can delete
> the $NtUninstallxxxx folders (on local and remote machines)? I have
> about 100 PC's that I would like to do this on a regular basis (say
> monthly).
>
> Many thanks
>
> Mark
I'll mention that ccleaner, which is pretty small, can help you clear out
various files, including the uninstallers (in the main screen, Advanced,
Hotfix uninstallers), temp files and browser caches.
However, it seems to only do this on local drives and the current account,
not remote systems; on the other hand, it can be set to run at startup so
you only have to go round and install and configure it once.
www.ccleaner.com
HTH
-pk