X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Ian Puleston" To: 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 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 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 > -----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/