Lucee Function Reference

Function GETDIRECTORYFROMPATH

Extracts a directory from an absolute path.
Returns the absolute path, without the filename.

Example

getdirectoryfrompath(string path):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
path string  Yes file path