delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/11/11:22:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jay <jmandawg AT hotmail DOT 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 DOT 20080111T150132-291 AT post DOT gmane DOT org> <2D9E96311DCA4C48BF185EA6928BC7BB030AAB8D AT asc-mail DOT int DOT ascribe DOT com>
Mime-Version: 1.0
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019