How to get cygwin path

Daniel Barclay daniel@fgm.com
Mon Oct 4 14:52:00 GMT 2010


Afflictedd2 wrote:
>
> Ok. nm...
>
> it has to be this way:
>
> cygpath -u "C:\Users\Viper\Tmp"

Using single quotes would be more general.  Consider the difference if
the pathname includes a substring like "\r".  (Backslash is inert in
(bash/sh/etc.) single-quoted strings, but sometimes escapes the following
character in double-quoted strings.



Daniel

--
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