mkdir
creates a directory
Calling Sequence
Parameters
Description
Examples
mkdir(dirName)
dirName
-
the name of the directory to create
The mkdir function creates a directory in 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 create.
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, mkdir will return NULL (i.e. nothing). If unsuccessful, an exception will be raised.
mkdir⁡mydir
mkdir⁡mydir/subdir
currentdir⁡mydir/subdir
/u/joeuser/work
currentdir⁡
/u/joeuser/work/mydir/subdir
See Also
currentdir
getenv
libname
rmdir
Download Help Document