Search code examples
windowscmd

Windows command: "The syntax of the command is incorrect."


Why is this command incorrect on Windows?

mkdir dist && copy node_modules/todomvc-app-css/index.css public/todomvc-app-css.css

Solution

  • You need to use backslashes, not slashes in your paths.