The specified directory attribute value C:\directory\to\create could not be created.
The most likely cause of this error is that C:\directory\to\create already exists on your file system. The exception occurred during a cfdirectory action="CREATE".
Sample code
<cfdirectory action="CREATE" directory="C:\directory\to\create">
Explanation
As the error states, the most likely cause is that the directory already exists.
First check to see if the directory exists before attempting to create it:
<cfif NOT DirectoryExists("C:\directory\to\create")>
<cfdirectory action="CREATE" directory="C:\directory\to\create">
</cfif>
First check to see if the directory exists before attempting to create it:
<cfif NOT DirectoryExists("C:\directory\to\create")>
<cfdirectory action="CREATE" directory="C:\directory\to\create">
</cfif>
Submitted by Adrian Lynch on Tuesday 14 October 2008

Posted by Sid Wing on Wednesday 15 October 2008
It appears that cfdirectory will only CREATE the last directory in a path. So if you are trying to create C:\directory\to\create and C:\directory\to does not exist - it will fail with this error as well.
Posted by Adrian Lynch on Wednesday 15 October 2008
Checking CF8, it creates all of the directories needed.
The following creates the whole directory tree:
<cfdirectory action="CREATE" directory="#ExpandPath('.\none\of\these\exist\but\they\soon\will')#">
Posted by Sid Wing on Friday 17 October 2008