On Jun 12 22:15, Алексей Павлов wrote: > 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?
Try the -a (for "absolute") flag: $ cygpath -wa . C:\cygwin64\home\corinna Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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