Re: getting dos path from cygwin (programmatically)

2002-04-11 Thread Larry Hall (RFK Partners, Inc)
At 03:46 AM 4/11/2002, Andreas Ames wrote: >Hi all, > >Pavel Tsekov <[EMAIL PROTECTED]> writes: > > > Yes! Use the cygpath.exe utility. > >I've got a related question: Is there an easy to use interface (say in >cygwin1.dll) to convert paths between cywin and windows conventions >programmatically i

Re: getting dos path from cygwin (programmatically)

2002-04-11 Thread Corinna Vinschen
On Thu, Apr 11, 2002 at 09:46:30AM +0200, Andreas Ames wrote: > Hi all, > > Pavel Tsekov <[EMAIL PROTECTED]> writes: > > > Yes! Use the cygpath.exe utility. > > I've got a related question: Is there an easy to use interface (say in > cygwin1.dll) to convert paths between cywin and windows conve

Re: getting dos path from cygwin (programmatically)

2002-04-11 Thread Andreas Ames
Hi all, Pavel Tsekov <[EMAIL PROTECTED]> writes: > Yes! Use the cygpath.exe utility. I've got a related question: Is there an easy to use interface (say in cygwin1.dll) to convert paths between cywin and windows conventions programmatically i.e. directly callable from C-code? If so, which head

Re: getting dos path from cygwin

2002-04-10 Thread Pavel Tsekov
Hello ian, Wednesday, April 10, 2002, 2:25:02 PM, you wrote: irg> I am trying to call link.exe on a lib, but it is in my cygwin path and i irg> cannot seem to find a good way to translate my cygwin path into a dos path so irg> ms's silly tools can understand it. irg> any hints? Yes! Use the c

Re: getting dos path from cygwin

2002-04-10 Thread Dwight Schauer
Use cygpath. cygpath --help in your case: some_dos_command  $(cygpath -w path_to_cygwin_file) or some_dos_command  $(cygpath -wa path_to_cygwin_file)   The "a" option is to return the absolute path, and not the relative one. On Wednesday 10 April 2002 07:25, you wrote: > Greetings, > I am tryi

getting dos path from cygwin

2002-04-10 Thread ian reinhart geiser
Greetings, I am trying to call link.exe on a lib, but it is in my cygwin path and i cannot seem to find a good way to translate my cygwin path into a dos path so ms's silly tools can understand it. any hints? thanks -ian reinhart geiser -- Ian Geiser <[EMAIL PROTECTED]>