CreateDirectory

CreateDirectory["dir"]
creates a directory called dir.
CreateDirectory[]
creates a temporary directory.