I am using W2K, T2K (sorry WiT2K), IIS

 

I have the following code:

 

<@include file="<@var application$rootfilepath>menus/software/software-list.html">

 

The snag is that software-list.html is another directory somewhere else on the server. I have created a virtual directory under menus which references the correct directory where this file located.

 

From my web-browser, if point it to that file using that directory path it works fine. If I create a directory “software” (under menus) and copy the file there it works. It will not work (as I think I have discovered) when there is a virtual directory in the path.

 

Is this correct?

Is the only way to include that file to read in the contents into a variable using a file-read action?

 

Trevor Green

 

Reply via email to