coldfusion get base directory 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>