RE: Use CF to delete directory and files in it?
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. > 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. s. isaac dealey 954.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=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Use CF to delete directory and files in it?
> dependant on platform and if you have access, you could > cfexecute a > batch file Ick. s. isaac dealey 954.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=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: 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 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 for this last week. It was an excerpt from the deltree.cfm tag in the onTap framework iirc. s. isaac dealey 954.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=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Use CF to delete directory and files in it?
(action="" returns a query object containing the files within the directory. You could just loop over that 'query' and use with action="" prior to doing the with action=""> ? On Thu, 26 Aug 2004 10:36:10 -0500, Phill B <[EMAIL PROTECTED]> wrote: > 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. > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Use CF to delete directory and files in it?
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?
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 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. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
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 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. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]