3 ms·
I seem to recall that once upon a time, only the /cygdrive convention worked in Cygwin. But for years now, Cygwin has supported supported drive letter prefixes,
by kazinator 10y ago
I seem to recall that once upon a time, only the /cygdrive convention worked in Cygwin. But for years now, Cygwin has supported supported drive letter prefixes, as in c:/foo/bar.txt. Thus, effectively, /cygdrive/c can be regarded as a legacy hack. Sort of. If you do "cd c:" you end up with "/cygdrive/c" as your current working directory.
Backslashes work fine, too; try "ls c:\\temp".
- smhenderson 10y agoHey, thanks, I did not know that and I use cygwin a lot. I guess that explains why my comment was voted down.