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
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]
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
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
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
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.
6 matches
Mail list logo