Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com User-Agent: Mutt/1.5.5.1i Hamster-Fr/2.0.1.10 Date: Thu, 17 Jun 2004 14:54:36 +0200 From: Luc Hermitte To: cygwin AT cygwin DOT com Subject: Re: find the path for cygwin root from windows script Message-ID: <20040617125436.GA3164@jade> References: <40D16060 DOT 6040604 AT yahoo DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40D16060.6040604@yahoo.fr> X-Operating-System: CYGWIN_NT-5.1 X-IsSubscribed: yes Hello, * On Thu, Jun 17, 2004 at 11:12:00AM +0200, bertrand marquis wrote: > i need to be able to find where cygwin is install from a .bat script > under windows to run cygwin programs. > Does anyone has a solution to do that automaticaly ? cygpath -m / However, this solution requires that cygwin directories are visible from your $PATH. In other words, you won't really need to know where they are installed. -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/