This command deletes the specified directory. It will only work if the directory is empty.
0 |
Directory Path |
Directory |
The directory to verify |
None.
SUCCESS |
The directory was deleted. |
FAILURE |
The directory could not be found or was not empty. |
This command could be dangerous so it was written to only remove a directory if the directory is already empty. If you wish to eliminate a directory you will need to build a list of files in that directory, delete them first and then remove the directory.