Contents Previous Next Subchapters

Removing A Directory And All Its Subdirectories
Syntax rmdirs(dir)
See Also rmdir , mkdir , isdir , exists

Description
Removes the specified directory, including all its files and subdirectories, where dir is a character row vector.

Example
     mkdir("\junk.0")
     mkdir("\junk.0\junk.1")
     rmdirs("\junk.0")
returns
     T
     T
     Beginning directory: Junk.1
     Removing directory: Junk.1
     Removing directory: \junk.0