Skip to main content
October 3, 2008
Question

template path in cfmodule

  • October 3, 2008
  • 1 reply
  • 526 views
Why doesnt this code work?

<cfmodule template="C:/ColdFusion8/cache/custom.cfm" result="myNewVar">
This should come in green again...
</cfmodule>

I get the error as:
The filename, directory name, or volume label syntax is incorrect

whereas this works perfectly fine:

<cfmodule template="..\..\cache\custom.cfm" result="myNewVar">
This should come in green...
</cfmodule>
This topic has been closed for replies.

1 reply

Inspiring
October 3, 2008
The first thing one should do when confronted with a problem with a CFML
construct is to RTFM:

http://livedocs.adobe.com/coldfusion/8/Tags_m-o_06.html

{quote}
"A physical path is not valid."
{quote}

That'd be why, then.

--
Adam