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