PC Review


Reply
Thread Tools Rate Thread

Delete folders using wildcard

 
 
Muso
Guest
Posts: n/a
 
      8th Oct 2007
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

 
Reply With Quote
 
 
 
 
WaIIy
Guest
Posts: n/a
 
      8th Oct 2007
On Sun, 07 Oct 2007 21:49:10 -0700, Muso <(E-Mail Removed)> wrote:

>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


Try posing your question in

microsoft.public.scripting.vbscript


These guys are amazing.
 
Reply With Quote
 
Patrick Keenan
Guest
Posts: n/a
 
      8th Oct 2007
"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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Rows using If and Wildcard Max2073 Microsoft Excel Worksheet Functions 2 16th Mar 2010 03:24 PM
Delete Rows using Wildcard Max2073 Microsoft Excel Worksheet Functions 2 16th Mar 2010 02:53 PM
File.Delete and Wildcard Extension Paul Microsoft ASP .NET 0 4th Jun 2008 04:27 PM
Outlook 2003 Search Folders Wildcard Ken Leonard Microsoft Outlook Discussion 1 29th Jan 2004 06:02 AM
Outlook 2003 Search Folders Wildcard -- how to Ken Leonard Microsoft Outlook Discussion 0 23rd Jan 2004 02:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:35 PM.