If you do that, make sure you're app doesn't need to be portable. Rob
http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 1:56 PM To: CF-Talk Subject: Re: Recursive File Delete David Adams wrote: > I am looking for a simple block of code that will loop through a > directory and delete it's files when called. I do NOT want to delete > the directory, only its contents. Why loop? <cfexecute name="c:\winnt\system32\cmd.exe" parameters="/c del c:\trash\*.* /q" /> Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

