Lucee Function Reference

Function DIRECTORYCREATE

Creates new directory for specified path

Example

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

Arguments

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