How do I know the absolute path to my web site?

In general, the path to your site will be: d:\inetpub\wwwroot\(your domain name)\wwwroot.

You can also determine the absolute path of the template you are running if you put the following code in your CFM template:

<cfoutput>#expandPath('.')#</cfoutput>

Remember, this code needs to be in a file with a .cfm extension and viewed through your web browser to see the path to your current file.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 1418