Tags · Functions · Objects
Lucee Function Reference
Choose a function:


Creates new directory for specified path


directorycreate(string path,[boolean createPath,[boolean ignoreExists]]):void


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
path string  Yes   Absolute path of the directory to be created  
createPath boolean  No true Create parent directory when not exist  
ignoreExists boolean  No false Pass false (default) to throw an error if the directory already exists, or true to skip the create operation without an error