X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Ian Puleston" <ian@underpressuredivers.com>
To: <cygwin@cygwin.com>
References: <20503937.post@talk.nabble.com> <5gbrh49t5mp5gj6oea2k20gefv8fbm10lh@4ax.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
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Content-Language: en-us
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

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

