RE: Use CF to delete directory and files in it?

2004-08-26 Thread Mark A. Kruger - CFG
Create a batch file and use cfexecute. -Mark -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:36 AM To: CF-Talk Subject: Use CF to delete directory and files in it? I'm trying to find a way to delete a directory with files in it. cfdirectory

RE: Use CF to delete directory and files in it?

2004-08-26 Thread d.a.collie
dependant on platform and if you have access, you could cfexecute a batch file -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Use CF to delete directory and files in it?

2004-08-26 Thread Charlie Griefer
cfdirectory (action="" returns a query object containing the files within the directory.You could just loop over that 'query' and use cffile with action="" prior to doing the cfdirectory with action=""> ? On Thu, 26 Aug 2004 10:36:10 -0500, Phill B [EMAIL PROTECTED] wrote: I'm trying to find a

Re: Use CF to delete directory and files in it?

2004-08-26 Thread S . Isaac Dealey
I'm trying to find a way to delete a directory with files in it. cfdirectory requires the the directory to be empty before you delete it. What is the best way to delete all the files in the folder? -- Phillip B. You might want to check the cf-talk archives -- I think I posted some code

RE: Use CF to delete directory and files in it?

2004-08-26 Thread S . Isaac Dealey
dependant on platform and if you have access, you could cfexecute a batch file Ick. s. isaac dealey954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477DE=1

RE: Use CF to delete directory and files in it?

2004-08-26 Thread S . Isaac Dealey
Ick. Create a batch file and use cfexecute. -Mark -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:36 AM To: CF-Talk Subject: Use CF to delete directory and files in it? I'm trying to find a way to delete a directory with files in it.