Void mkdir(String dname, Permissions mode=Permissions([ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], false, false, false))
Arguments
dname: The directory namemode: The permissions to set. This is optional, and if omitted will default to setting all access permissions allowed by the current process umask, but will not set the setUID, setGID, or sticky bit. On Windows, this parameter is ignored completely as the file permissions system is very different.
Usage
Makes a directory, throwing a FileError Exception if creation fails. The permissions set will be affected by the current process umask (see the mkdir(2) man page) on Posix systems.