Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

By default, cygwin maps my c:\ as /cygrive/c and this is causing some programs some issues. How can I permanently map c:\ to /?

The cygwin c documentation is really hard to follow... I have no idea what to look for.

I'm using the latest Cygwin.

share|improve this question
add comment

2 Answers

You can't map DOS "c:" to Cygwin "/". Cygwin needs its own root directory to be the root. You could map it to "/c" if you wanted. Since this solution won't work, why not instead post the problem you're having with "some programs", which can probably be solved? It would also be good to name the programs.

share|improve this answer
    
Unfortunately I can't remember the exact program, but it it did have to do with a Windows program run from bash and it did not like the /cygdrive/c part. How can i change to '/c' ? –  Ayman Apr 12 '11 at 14:22
    
I doubt a Windows program that gets its origin path from Bash would like "/" either. –  CarlF Apr 12 '11 at 15:47
    
That is the "good" thing. a Windows program does accept / in the path. Not in the command prompt, but you can pass it using script or config files and it would work. –  Ayman Apr 12 '11 at 16:11
add comment

You can only make C:\ the same as / by installing Cygwin into C:\. It's discouraged, but it does work.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.