Unix pathname -> DOS pathname
Peter A. Vogel
Tue Sep 22 23:12:00 GMT 1998
Sergei's CoolView package has cygpath to convert from one form
to the other (either source, either destination).
> -----Original Message-----
> From: firstname.lastname@example.org [ mailto:email@example.com]On
> Behalf Of Roger RenÃÂ© Kommer
> Sent: Monday, September 21, 1998 9:19 AM
> To: David Fox; Alessio Milan
> Cc: firstname.lastname@example.org
> Subject: RE: Unix pathname -> DOS pathname
> > > How can I convert a Unix pathname to a DOS pathname? Example:
> > >
> > > from: /usr/local/myfile
> > >
> > > to: D:\local\myfile
> > >
> > > (in the example /usr is mounted on D:)
> > Hey, you just did! (Sorry, couldn't resist.)
> Actually it is more interessant, how to do it in shell scripts.
> One possibility is to launch
> echo `cmd.exe /c cd`
> to get the cwd in DOS/NT syntax, but the performance could be
> Does anybody know a better solution?
> For help on using this list (especially unsubscribing), send a message to
> "email@example.com" with one line of text: "help".
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".
More information about the Cygwin