coldfusion get path code example
Example: coldfusion current directory
<cfset path = ListToArray(GetCurrentTemplatePath(), "\") />
<cfset folderName = path[DecrementValue(ArrayLen(path))] />
<cfoutput>#folderName#</cfoutput>
<cfset path = ListToArray(GetCurrentTemplatePath(), "\") />
<cfset folderName = path[DecrementValue(ArrayLen(path))] />
<cfoutput>#folderName#</cfoutput>