From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23974 invoked by alias); 10 Apr 2002 12:39:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23963 invoked from network); 10 Apr 2002 12:39:35 -0000 Received: from unknown (HELO star.vcsd.net) (66.76.1.30) by sources.redhat.com with SMTP; 10 Apr 2002 12:39:35 -0000 Received: from there (star.vcsd.net [66.76.1.30]) by star.vcsd.net (8.11.6/8.11.6) with SMTP id g3ACdac05252 for ; Wed, 10 Apr 2002 07:39:36 -0500 Message-Id: <200204101239.g3ACdac05252@star.vcsd.net> X-Authentication-Warning: star.vcsd.net: mail owned process doing -bs Content-Type: text/plain; charset="iso-8859-1" From: Dwight Schauer Reply-To: das@teegra.net To: Subject: Re: getting dos path from cygwin Date: Wed, 10 Apr 2002 05:55:00 -0000 References: <200204101226.g3ACQAe05183@star.vcsd.net> In-Reply-To: <200204101226.g3ACQAe05183@star.vcsd.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-04/txt/msg00557.txt.bz2 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 > 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/