DirectoryDelete()
Deletes directory for given path
DirectoryDelete( path=string, recurse=boolean );
Returns: void
Argument | Description |
---|---|
path
string,
required
|
Absolute path of the directory to be deleted |
recurse
boolean,
optional
|
Delete content of the directory. Default is false. Alias: recursive |
Examples
directorydelete("DirectoryPath");
See also
- File handling
- DirectoryCopy()
- DirectoryCreate()
- DirectoryExists()
- DirectoryList()
- DirectoryRename()
- <cfdirectory>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)