It depends why the access is denied. If you are deleting files in the
directory just before deleting the directory, sometimes the timing gets
screwy.

In general, on Windows systems I find it easier to invoke
"Scripting.FileSystemObject" through CFOBJECT and use that to do my file
system manipulations. My experience has been that it's faster and more
robust.

fso info: 

http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/doc/jsFS
OTutor.htm

Michael Caulfield

-----Original Message-----
From: river [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 11:40 AM
To: CF-Talk
Subject: cfdirectory delete


When I try to delete or rename a folder with cfdirectory it sometimes gives
me an error message saying that the folder access is denied.  Is there any
work-around to this problem?

thanks for any help.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to