mkdir - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


mkdir

creates a directory

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

mkdir(dirName)

Parameters

dirName

-

the name of the directory to create

Description

• 

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.

Examples

mkdirmydir

mkdirmydir/subdir

currentdirmydir/subdir

/u/joeuser/work

(1)

currentdir

/u/joeuser/work/mydir/subdir

(2)

See Also

currentdir

getenv

libname

rmdir