X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_SPAMHAUS_DROP,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org X-EIP: [IgWu+cFE4+PimnXUi0CQGXKxDHTp0EmX] Message-ID: Date: Wed, 2 Jan 2013 18:04:56 +0100 From: Aaron Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygpath not working properly when the windows path argument ends in backslash References: In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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