cygpath problem

Алексей Павлов alexpux@gmail.com
Wed Jun 12 19:15:00 GMT 2013


Hi everybody!

I have a question about using cygpath.
Trying to get windows paths in different locations

alexey@78CE /cygdrive/c
$ cygpath -w .
.
alexey@78CE /cygdrive/c
$ cygpath -w /cygdrive/c
C:\
alexey@78CE /cygdrive/c
$ cd /home
alexey@78CE /home
$ cygpath -w .
C:\Test\cross32\home\

As I see I cant properly get windows path if I try to get it on
current directory that contain /cygdrive prefix.


Is it feature or bug?


Regards,

Alexey.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list