Extracts a directory from an absolute path. Returns the absolute path with a trailing slash and omits the filename.
getDirectoryFromPath(path)
→ returns string
getDirectoryFromPath("C:\temp\file.txt")
Expected Result: C:\temp\
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.