I think the only way you'd be able to do it is to do a cfdirectory to get a list of all of the files, loop over that list to delete the files and then use cfdirectory to delete the directory. Cffile doesn't support wildcards that I know of and that's probably a good thing. Too many mistakes could happen with that. If you needed to do it the way you're talking about, you could use CFEXECUTE to use system commands to delete the files/directory.
John Burns Certified Advanced ColdFusion MX Developer AI-ES Aeronautics, Web Developer -----Original Message----- From: Eric Creese [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 12:19 PM To: CF-Talk Subject: Deleting Multiple files with CFFILE?????? I want to use CFFILE to remove all the pictures in a directory then use CFDIRECTORY to remove the directory. How can I do this with CFFILE using a wildcard to get all the files deleted at once.? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187593 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

