Function to remove a folder from the file system including all files and subfolders. This function will also delete the folder itself.
Warning! This function silently removes the folder and files. This cannot be undone!
To remove a folder:
var folder = new Folder("C:/myfolder"); removeFolder(folder);
Parameter | Data type | Required | Description |
---|---|---|---|
folder | folder object | True | The folder to remove |
This method has no return values.