RE: RMDIR and Wildcards

2010-01-14 Thread Tim Evans
for %f in (path\directory*) do rd /s %f Add /Q if you're brave and don't want to be prompted for each one ...Tim From: Gavin Wilby [mailto:gavin.wi...@gmail.com] Sent: Thursday, January 14, 2010 8:05 AM To: NT System Admin Issues Subject: RMDIR and Wildcards Hi, For one reason or another I

Re: RMDIR and Wildcards

2010-01-14 Thread Gavin Wilby
Hi Tim, Are you sure that syntax is correct, as it doesnt appear to work here :( Gavin. On Thu, Jan 14, 2010 at 4:25 PM, Tim Evans tev...@sparling.com wrote: for %f in (path\directory*) do rd /s %f Add /Q if you're brave and don't want to be prompted for each one ...Tim *From:*

RE: RMDIR and Wildcards

2010-01-14 Thread Crawford, Scott
You need to throw in a /d if you want to match against directories For /d %f in (path\directory*) do rd /s %f From: Gavin Wilby [mailto:gavin.wi...@gmail.com] Sent: Thursday, January 14, 2010 10:38 AM To: NT System Admin Issues Subject: Re: RMDIR and Wildcards Hi Tim, Are you sure

RE: RMDIR and Wildcards

2010-01-14 Thread Carl Houseman
He meant to say: for /d %f in (path\*) Carl From: Gavin Wilby [mailto:gavin.wi...@gmail.com] Sent: Thursday, January 14, 2010 11:38 AM To: NT System Admin Issues Subject: Re: RMDIR and Wildcards Hi Tim, Are you sure that syntax is correct, as it doesnt appear to work here

RE: RMDIR and Wildcards

2010-01-14 Thread Tim Evans
correct, sorry about that. ...Tim From: Crawford, Scott [mailto:crawfo...@evangel.edu] Sent: Thursday, January 14, 2010 8:39 AM To: NT System Admin Issues Subject: RE: RMDIR and Wildcards You need to throw in a /d if you want to match against directories For /d %f in (path\directory*) do rd /s

Re: RMDIR and Wildcards

2010-01-14 Thread Gavin Wilby
:* RE: RMDIR and Wildcards You need to throw in a /d if you want to match against directories For /d %f in (path\directory*) do rd /s %f *From:* Gavin Wilby [mailto:gavin.wi...@gmail.com] *Sent:* Thursday, January 14, 2010 10:38 AM *To:* NT System Admin Issues *Subject:* Re: RMDIR