This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: find the path for cygwin root from windows script
- From: Luc Hermitte <hermitte at free dot fr>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Jun 2004 14:54:36 +0200
- Subject: Re: find the path for cygwin root from windows script
- References: <40D16060.6040604@yahoo.fr>
Hello,
* On Thu, Jun 17, 2004 at 11:12:00AM +0200, bertrand marquis <bertrand_marquis@yahoo.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/