This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get cygwin path


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]