removes a directory
name of the directory to remove
The rmdir function removes a directory from the file system of the underlying operating system.
The dirName argument, which must be a Maple string or symbol, specifies the path name of the directory to remove.
The set of characters that are permitted in directory names is system dependent. Likewise, the character used to separate the components of a directory is system dependent. If the backslash character is to appear in the string, it must be doubled up, because Maple strings use the backslash character as an escape character.
If successful, rmdir will return NULL (that is, nothing). If unsuccessful, an exception will be raised.
oldDir ≔ currentdir⁡mydir/subdir
Error, (in rmdir) directory exists and is not empty
Download Help Document