X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jay Subject: need help with bash -c with cygpath Date: Wed, 9 Jan 2008 01:52:31 +0000 (UTC) Lines: 18 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 When i run >cygpath -a '\\uncpath\mydrive$' //uncpath/mydrive$ Which is the expected behaivor. When i run >bash -i -c "cygpath -a '\\uncpath\mydrive$'" /C/uncpath/mydrive$ Which is not what i want. I'm trying to pass in the unc path from windows, so it needs converted. Why do i get different results depending on how it is called? Thanks in advance. Jay. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/