RE: Recursive File Delete

2002-12-03 Thread Ryan Farrell
< cfdirectory action="list" directory="mydirectory" name="dirlist"> < cfoutput query="dirlist"> < cffile action="delete" file="#name#"> < /cfoutput> Ryan -Original Message- From: David Adams [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 3:22 PM To: CF-Talk Subject:

RE: Recursive File Delete

2002-12-03 Thread Lofback, Chris
Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com > -Original Message- > From: David Adams [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 4:22 PM > To: CF-Talk > Subject: Recurs

RE: Recursive File Delete

2002-12-03 Thread Joshua Miller
That'll delete everything but sub-directories within the specified directory Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-9044 ext. 254

Re: Recursive File Delete

2002-12-03 Thread S . Isaac Dealey
> 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. > Pseudo code: > Set CurrentDirectory > For each file in directory > Delete it > Next. > I am sure this is easy for some

Re: Recursive File Delete

2002-12-03 Thread Jochem van Dieten
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? Jochem ~| Archives: ht

Re: Recursive File Delete

2002-12-03 Thread S . Isaac Dealey
> 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? >name="c:\winnt\system32\cmd.exe" > parameters="/c del c:\trash\*.* /q"

RE: Recursive File Delete

2002-12-03 Thread Rob Rohan
o: 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 conten

RE: Recursive File Delete

2002-12-03 Thread Jim Davis
add a "delete" in there. Jim Davis > -Original Message- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 4:48 PM > To: CF-Talk > Subject: Re: Recursive File Delete > > > > I am looking for a simple block of code t