Navigation

Operators and Keywords

Function List:

C++ API

: rmdir dir
: rmdir (dir, "s")
: [status, msg, msgid] = rmdir (…)

Remove the directory named dir.

If the optional second parameter is supplied with value "s", recursively remove all subdirectories as well.

If successful, status is 1, and msg, msgid are empty character strings (""). Otherwise, status is 0, msg contains a system-dependent error message, and msgid contains a unique message identifier.

See also: mkdir, confirm_recursive_rmdir, pwd.

Package: octave