delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <ADeFaria AT Salira DOT com> |
Subject: | Re: Determining the location of a Cygwin installation |
Date: | Wed, 26 Mar 2003 12:23:31 -0800 |
Lines: | 17 |
Message-ID: | <3E820C43.8080400@Salira.com> |
References: | <200303261832 DOT 53052 DOT jld AT ecoscentric DOT com> <NCEBJJFMCAOKNNABBFIMIEBLDFAA DOT john DOT r DOT morrison AT ntlworld DOT com> <b5stct$gjq$1 AT main DOT gmane DOT org> <3E81FE8B DOT 9060008 AT Salira DOT com> <00ab01c2f3d4$e9b05920$cf6d86d9 AT ellixia> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
X-Accept-Language: | en-us, en, ru, zh |
Elfyn McBratney wrote: > But as cgf (the Really Cool Manager) said the registry keys are not to > be relied on as they might not be there forever. Yeah but what I'm saying is that there should be a commitment to at least one registry entry which denotes the [active] installation path of Cygwin. IOW I was sort of requesting it. Again, it's only my opinion. But to me it seems logical that you gotta know where to start... and the registry is there, partially for such a purpose.... > Thinking about this I'd use Win32 API calls (FindFirstFileEx and > CreateFile) to search a drive for items named "bin" and see if it's a) > a folder and b) contains cygwin1.dll . Sounds like a potentially expensive proposition. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |