Subject: RE: Unix pathname -> DOS pathname
From: [email-masked] (Roger René Kommer)

22 Sep 1998 05:59:25 -0700
Message-ID: <[email-masked]>
References: <[email-masked]>
Reply-To: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
To: "David Fox" <[email-masked]>, "Alessio Milan" <[email-masked]>
Cc: <[email-masked]>

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
"[email-masked]" with one line of text: "help".