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: How does one find where Cygwin was installed from Windows?



    It's not like in Windows where you can add something to
the linux-registry, "/etc", or path-specific part "/etc/profile.d"
and have other apps pick up this information.  It would make
more sense to put it in a registry environment variable.

What do you think?

'setx.exe' a CLI utility on Vista and XP system (2000?), allows you to set an evironment variable, say, CYGWIN_ROOT, and/or CYGWIN_BIN, that percolates up to the System or User Enviroment variable space. It comes with Windows. Wouldn't this make more sense than messing with the registry directly. 'setx' can be run from a Cygwin shell. I've tried it. It works (Vista Home Premium 64b with Cygwin 1.5).



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


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