X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Jay <jmandawg@hotmail.com>
Subject:  Re:  Re: need help with bash -c <command> with cygpath
Date: Fri, 11 Jan 2008 16:21:35 +0000 (UTC)
Lines: 19
Message-ID:  <loom.20080111T160923-373@post.gmane.org>
References:  <loom.20080111T150132-291@post.gmane.org> <2D9E96311DCA4C48BF185EA6928BC7BB030AAB8D@asc-mail.int.ascribe.com>
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> H:\>C:\cygwin\bin\bash -v -c '\\\\UNC_PATH\\Dir'
> 
> (actually only the first really needs to be doubled, because \ has
> no special meaning if it's followed by a letter)
> 
> Phil
> 
> 

I'm getting the path from the registry via a right click menu and passing it
into the bash -c command.  
But the leading slash is getting removed on UNC paths.  
I think i'm going to have to sed it.








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

