windowsdirectorymkdir

mkdir returns The syntax of the command is incorrect on windows


mkdir is unable to create direcotry

mkdir path/to/dir The syntax of the command is incorrect.


Solution

  • Use back slashes, like this: mkdir path\to\dir