cygpath not working properly when the windows path argument ends in backslash

Earnie Boyd earnie@users.sourceforge.net
Wed Jan 2 01:17:00 GMT 2013


On Tue, Jan 1, 2013 at 7:54 PM, Aaron Schneider wrote:
> cygpath.exe -a "c:\Users\All Users"
> /cygdrive/c/Users/All Users
>
> 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\\"

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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