Is it possible to convert from dos to unix path and back?

Ian Puleston ian@underpressuredivers.com
Fri Nov 14 23:15:00 GMT 2008


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



More information about the Cygwin mailing list