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

Popular posts from this blog

Errors while trying to monitor Asterisk through Nagios

Configuring remote access for couchdb

Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3