To delete a subdirectory.
pathname is a string expression, not exceeding 63 characters, identifying the subdirectory to be removed from its parent.
The subdirectory to be deleted must be empty of all files except "." and ".." or a "Path file/access error" is given.
Referring to the sample directory structure illustrated in CHDIR, the following command deletes the subdirectory report: