Name

GetDirectoryFromPath

Synopsis

GetDirectoryFromPath(path)

Returns the directory from a full path. The following example returns the directory in which the current template resides:

<CFOUTPUT>This directory is: #GetDirectoryFromPath(GetTemplatePath(  ))#</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.