File :: tryEraseDirectory - Check and erase directory
The function deletes a directory including all subordinated directories and files.
When directory to be deleted does not exist or when the directory or some of the subordinated files cannot be deleted (no permission), the function returns false . When being deleted successfully, the function returns true .
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false .