This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is cygwin bin directory?

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: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]