Manipulating File Paths

When working with file paths it is often necessary to extract specific portions of the path, for example, just the file name, or just the directory. Instead of performing manual processing to extract these values, you should use the CFML functions GetFileFromPath() and GetDirectoryFromPath() (which do exactly what their names suggest), these are both simpler and safer. (Applies to: ColdFusion All)

Leave a Reply