/ Published in: ColdFusion
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--- Get expanded path of the BASE path. ---> <cfset strPath = ExpandPath( "./" ) /> <!--- Get the expanded path of the CURRENT template path. ---> <cfset strPath = GetDirectoryFromPath( GetCurrentTemplatePath()) />
URL: http://www.bennadel.com/blog/283-ColdFusion-ExpandPath-And-GetCurrentTemplatePath-.htm