CreateDirectory
CreateDirectory["dir"] creates a directory with the given name.
CreateDirectory[] creates a temporary directory.
Examples
Create a directory:
CreateDirectory["output"]
(* "/path/to/output" *)Create nested directories:
CreateDirectory["path/to/new/folder"]Please visit the official Wolfram Language Reference for more details.