From: pvogel AT chromatic DOT com (Peter A. Vogel) Subject: RE: Unix pathname -> DOS pathname 23 Sep 1998 08:27:02 -0700 Message-ID: <005b01bde65c$244dcc60$44c010ac.cygnus.gnu-win32@gandalf.chromatic.com> References: <000001bde57b$7d7faf60$fa01a8c0 AT KOMUN DOT artefaktur DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit To: , "David Fox" , "Alessio Milan" Cc: Sergei's CoolView package has cygpath to convert from one form to the other (either source, either destination). Recommended! -Peter > -----Original Message----- > From: owner-gnu-win32 AT cygnus DOT com [mailto:owner-gnu-win32 AT cygnus DOT com]On > Behalf Of Roger René Kommer > Sent: Monday, September 21, 1998 9:19 AM > To: David Fox; Alessio Milan > Cc: gnu-win32 AT cygnus DOT com > Subject: RE: Unix pathname -> DOS pathname > > > > 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 AT cygnus DOT com" with one line of text: "help". > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".