This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygpath not working properly when the windows path argument ends in backslash
- From: Earnie Boyd <earnie at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 1 Jan 2013 20:17:05 -0500
- Subject: Re: cygpath not working properly when the windows path argument ends in backslash
- References: <BLU0-SMTP96D57229286DCC34ABBC89CE220@phx.gbl>
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