This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / System Interface / File System /

CreateDirectory

FilledSmallSquare CreateDirectory["dir"] creates a directory.

FilledSmallSquare CreateDirectory creates a subdirectory of your current working directory.

FilledSmallSquare The directory created by CreateDirectory is initially empty.

FilledSmallSquare CreateDirectory returns the full name of the directory it creates, and $Failed if it cannot create the directory.

FilledSmallSquare CreateDirectory has attribute Listable.

FilledSmallSquare See Section 2.12.6.

FilledSmallSquare See also: DeleteDirectory, RenameDirectory, CopyDirectory.

FilledSmallSquare New in Version 2.