Erases/deletes the given file/directory. If the path given is a directory, it must be empty before it can be deleted.
pathis the absolute path to a file/directory. A properly formatted path must begin with a ”
/” (forward slash) and begins at the root directory. Subdirectories are separated with ”
/” (forward slash).
NULL | Enn
To delete a directory:
To delete a file: