Return to Snippet

Revision: 13428
at April 23, 2009 13:58 by aanooj


Updated Code
<!--- Get expanded path of the BASE path. --->
<cfset strPath = ExpandPath( "./" ) />
 
<!--- Get the expanded path of the CURRENT template path. --->
<cfset strPath = GetDirectoryFromPath(	GetCurrentTemplatePath()) />

Revision: 13427
at April 23, 2009 13:57 by aanooj


Initial Code
* <!--- Get expanded path of the BASE path. --->
    * <cfset strPath = ExpandPath( "./" ) />
    *  
    * <!--- Get the expanded path of the CURRENT template path. --->
    * <cfset strPath = GetDirectoryFromPath(
    * GetCurrentTemplatePath()
    * ) />

Initial URL
http://www.bennadel.com/blog/283-ColdFusion-ExpandPath-And-GetCurrentTemplatePath-.htm

Initial Description

                                

Initial Title
getting current filename physical path

Initial Tags
path

Initial Language
ColdFusion