Make directory
Syntax
mkdir(dirname
)
mkdir(parentdir
,newdir
)
status = mkdir(...)
[status,msg] = mkdir(...)
Description
mkdir(dirname
)
creates the directory dirname
in the current directory.
mkdir(parentdir
,newdir
)
creates the directory newdir
in the existing directory parentdir
.
status = mkdir(...)
returns 1 if the new directory is created successfully, 2 if it already exists, and 0 otherwise.
[status,msg] = mkdir(...)
returns a non-empty error message string when an error occurs.
See Also
copyfile
Copy file
[ Previous | Help Desk | Next ]