[Last Call] Learn how to a build a cloud-first strategyRegister Now


Delete directory with coldfusion

Posted on 2008-11-19
Medium Priority
Last Modified: 2013-12-16
My code creates a directory as follows every time a new vehicle is added to the system.

<cfset destination="c:\coldfusion8\wwwroot\automotive\photos\"&#vin#&"\" >

Now when I delete vehicles in the system how would I delete this directory?
Question by:sonicimpulse
1 Comment
LVL 16

Accepted Solution

duncancumming earned 2000 total points
ID: 22997736
<cfdirectory action="delete" directory="c:\coldfusion8\wwwroot\automotive\photos\#vin#\">

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question