delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/22/17:03:35

X-Spam-Check-By: sourceware.org
Message-ID: <438395AC.20903@student.lu.se>
Date: Tue, 22 Nov 2005 23:03:24 +0100
From: Lennart Borgman <lennart DOT borgman DOT 073 AT student DOT lu DOT se>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Where is cygwin bin directory?
References: <4383616A DOT 4050608 AT student DOT lu DOT se> <20051122183415 DOT GB23653 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20051122183415.GB23653@trixie.casa.cgf.cx>
X-IsSubscribed: yes
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

Christopher Faylor wrote:

>On Tue, Nov 22, 2005 at 07:20:26PM +0100, Lennart Borgman wrote:
>  
>
>>Is the path to Cygwin bin directory available in windows registry?
>>
>>It would be nice if it were there since that would make it easier to use 
>>Cygwin from other programs.
>>    
>>
>
>"man cygpath"
>"man mount"
>  
>
Thanks Christopher, it was not what I asked for, but I realized I should 
have been more clear.

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. MS 
recommends that you put this information in the Windows Registry under 
something like

   HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\thunderbird.exe

Maybe that pattern does not fit Cygwin very well, but I hoped that the 
information was available in some other OFFICIAL place in the Windows 
Registry. Your answer however led me to remember a place in the registry 
where I currently can get this information:

   HKLM\SOFTWARE\Cygnus Solution\Cygwin\mounts v2\/\native

The problem is that it does not look as official information I can trust 
to be there tomorrow. So I would still like to know where to find this 
information in Windows Registry (if it is there?).


--
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