delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/17/09:10:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <hermitte AT free DOT fr>
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
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 <bertrand_marquis AT yahoo DOT fr> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019