USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Delete all files from a folder, optionally including subfolders
Removes all files from the specified folder. Can optionally also delete subfolders and their contents. Can optionally throw an error if any file is locked rather than silently skipping it. File permissions are checked against the permitted folders list.
| Parameter | Description |
|---|---|
| cmd | Folder path to empty |
| Argument 0 | True to also delete subfolders (default: False) |
| Argument 1 | True to throw an error if a file is locked and cannot be deleted (default: False) |
EmptyFolder "Folder path to empty", "True to also delete subfolders (default: False)", "True to throw an error if a file is locked and cannot be deleted (default: False)"