| << relativepath | Files and folders functions | rmfile >> |
| rmdir(dirname) |
| rmdir(dirname, 's') |
| res = rmdir(dirname) |
| res = rmdir(dirname, 's') |
| [res, msg] = rmdir(dirname) |
| [res, msg] = rmdir(dirname, 's') |
a string: file or directory name.
a string: removes also subdirectories.
a logical: true or false.
a string: error message or ''.
res = rmdir(dirname) removes the directory dirname.
If the directory is not empty, you must use the s argument.
mkdir([tempdir(), 'test'])
rmdir([tempdir(), 'test'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET