Backslashes and MinGW32
I was trying to create a directory today inside an existing directory in MinGW32 on Windows 8. When I tried executing the following command,
mkdir code\project
it just didn't complain about anything, but it did create a directory - not exactly the way I intended it to. It created a directory "codeproject" by simply stripping off the backslash from the command.
If you still need to use backslashes only, then you should enclose the path in quotes like,
mkdir "code\project"
else, you could use forward slashes instead of backslashes.
Comments
Post a Comment