RMDIR Remove Directory
Section: Operating System Functions
Usage
Deletes a directory. The general syntax for its use isrmdir('dirname')
which removes the directory dirname
if it is empty. If you
want to delete the directory and all subdirectories and files
in it, use the syntax
rmdir('dirname','s')