• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

template path in cfmodule

Guest
Oct 02, 2008 Oct 02, 2008

Copy link to clipboard

Copied

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>
TOPICS
Advanced techniques

Views

494

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 03, 2008 Oct 03, 2008

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation