delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/14/15:44:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Ian Puleston" <ian AT underpressuredivers DOT com>
To: <cygwin AT cygwin DOT com>
References: <20503937 DOT post AT talk DOT nabble DOT com> <5gbrh49t5mp5gj6oea2k20gefv8fbm10lh AT 4ax DOT com>
In-Reply-To: <5gbrh49t5mp5gj6oea2k20gefv8fbm10lh@4ax.com>
Subject: RE: Is it possible to convert from dos to unix path and back?
Date: Fri, 14 Nov 2008 12:43:06 -0800
Message-ID: <037401c94699$9be8ddc0$d3ba9940$@com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
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

> -----Original Message-----
> From: Barry Kelly
> 
> R. Lewis wrote:
> 
> > Some of the commands we "launch" from a cygwin bash shell only
> understand the Dos path convention. Is
> > there a "conversion" command I can call to go from a Unix path 
> 
> cygpath

Since this is a common hassle for a lot of people, in my .bashrc I have
this:

alias cpw='cygpath -w'

So when I want to launch such a program I can do this:

vi `cpw ~/.bashrc`

(my 'vi' is an alias to SlickEdit which, of couse, has this problem).

Ian




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