This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / System Interface / File System  /

  • CreateDirectory[" dir "] creates a directory.
  • CreateDirectory creates a subdirectory of your current working directory.
  • The directory created by CreateDirectory is initially empty.
  • CreateDirectory returns the full name of the directory it creates, and $Failed if it cannot create the directory.
  • See the Mathematica book: Section 2.11.6.
  • See also: DeleteDirectory, RenameDirectory, CopyDirectory.