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: cygpath not working properly when the windows path argument ends in backslash


On 02/01/2013 2:17, Earnie Boyd wrote:
cygpath.exe -a "c:\Users\All Users\"


Probably this trailing backslash is interpreted by shell, what to do about this?

Not probably, it is exactly that.


cygpath.exe -a "C:\\Users\\All Users\\"

I was incorrectly quoting the path. This works:


$ cygpath.exe -a 'c:\Users\All Users\'
/cygdrive/c/Users/All Users/

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