That's pretty much what I came up with.  I thought about shelling out,
but I didn't want to bring down the "portable" police on me.  ;^)

Thanks for all suggestions.

M!ke 

-----Original Message-----
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 1:57 PM
To: CF-Talk
Subject: Re: Delete Files with Wildcards

You could also do a cfdirectory with a filter to get a list of the files
in question and then loop over them to do the cffile delete.

--Ferg

Barney Boisvert wrote:

>The CFDIRECTORY/CFLOOP/CFFILE solution is what I've used as well, at 
>least where I needed to keep it all CF.  If you don't mind shelling 
>out, you can use native OS commands (rm or del), which do accept 
>wildcards.  It'll be a lot faster if you've got more than a couple 
>files to kill off, even with the process creation overhead.
>
>cheers,
>barneyb

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224684
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to