> 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" />

Off the top of my head, I'd say -- shared server, no access to cfexecute. :)

s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to