delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Shankar Unni <shankarunni AT netscape DOT net> |
Subject: | Re: Where is cygwin bin directory? |
Date: | Tue, 22 Nov 2005 14:29:58 -0800 |
Lines: | 21 |
Message-ID: | <dm0657$c3d$1@sea.gmane.org> |
References: | <4383616A DOT 4050608 AT student DOT lu DOT se> <20051122183415 DOT GB23653 AT trixie DOT casa DOT cgf DOT cx> <438395AC DOT 20903 AT student DOT lu DOT se> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Thunderbird/1.5 Mnenhy/0.7.2.0 |
In-Reply-To: | <438395AC.20903@student.lu.se> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
Lennart Borgman wrote: > I want to start Cygwin from within an application. It is in a package > that will be distributed to many computers and I have no idea at all if > Cygwin is installed and in that case where it is installed. Cygwin is not an "application" that you "start", so this makes no sense at all. That's like saying "I want to start MFC from within <blah>". What exactly are you starting? Bash (the shell)? Some other tool ported to Cygwin? If you simply want to determine where Cygwin is installed, from a non-Cygwin application (without assuming that it's already in the PATH) then you'll have to look at the registry. Look for the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (assuming you installed Cygwin in the "official" manner). The value is the path to the bin directory. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |