From: cwilson@ee.gatech.edu (Charles Wilson)
Subject: Re: Unix pathname -> DOS pathname
23 Sep 1998 03:28:37 -0700
Message-ID: <3607F8B0.B53F17CA.cygnus.gnu-win32@ece.gatech.edu>
References: <000001bde57b$7d7faf60$fa01a8c0@KOMUN.artefaktur.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
To: roger@isp.uni-kassel.de
Cc: gnu-win32@cygnus.com

I don't know if anybody has mentioned this yet, but cygpath.exe from
Sergey's coolview patch allows you to convert to/from Dos/Unix pathnames.
Get it at ftp://www.lexa.ru/pub/domestic/sos/coolview.tar.gz

--Chuck Wilson



Roger René Kommer wrote:

> Hi,
> > > 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
> better.
> Does anybody know a better solution?
>
> Roger
>
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
