cygpath problem
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jun 12 19:33:00 GMT 2013
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
More information about the Cygwin
mailing list