You could do it with CFTRY/CFCATCH.

Dave


----- Original Message -----
From: "Bernd VanSkiver" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 10:13 AM
Subject: Custom CF Directory


Anyone out there ever make a tag could check and create parent directories
of a specified directory if they do not exist?  For example, if I try to
create c:\inetpub\wwwroot\test\cf\ and if the directories above that \cf\
directory didn't exist they would be automatically created rather than
throwing an error like CFDirectory does.

Bernd VanSkiver
[EMAIL PROTECTED]
ColdFusion Developer
____________________________________________________________________________
____
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
________________________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to