This is really strange. cgypath
is returning paths with spaces in them, and when I try to cd
to them, they fail as not being able to be found. I also notice this strange behavior with pwd
. Observe this:
MyUser@MyMachine /cygdrive/c/Program Files/Java/jdk1.6.0_45
$ pwd
/cygdrive/c/Program Files/Java/jdk1.6.0_45
MyUser@MyMachine /cygdrive/c/Program Files/Java/jdk1.6.0_45
$ cd /cygdrive/c/Program Files/Java/jdk1.6.0_45
-bash: cd: /cygdrive/c/Program: No such file or directory
MyUser@MyMachine /cygdrive/c/Program Files/Java/jdk1.6.0_45
Why is this happening?