If you're going to be working with a large number of files, you may want to think about tapping in to CF's underlying Java capabilities. I've found that to be much better than using cfdirectory.
Che Vilnonis wrote: > Glad I could help... > > -----Original Message----- > From: Richard White [mailto:[EMAIL PROTECTED] > Sent: Monday, April 14, 2008 5:29 PM > To: CF-Talk > Subject: Re: deleting all files in a directory with code > > that worked fine, thanks che > >> Try the cfdirectory tag to get the files and cffile to delete them. >> >> hi >> >> is there a way to delete all files in a directory through code, tag or >> function >> >> thanks > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303556 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4