This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: getting dos path from cygwin
- From: Dwight Schauer <das at teegra dot net>
- To: <cygwin at cygwin dot com>
- Date: Wed, 10 Apr 2002 07:41:57 -0500
- Subject: Re: getting dos path from cygwin
- References: <200204101226.g3ACQAe05183@star.vcsd.net>
- Reply-to: das at teegra dot net
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 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 <geiseri@yahoo.com>
> http://geiseri.myip.org:8080/~geiseri/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/