From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31162 invoked by alias); 10 Feb 2009 21:13:11 -0000 Received: (qmail 31150 invoked by uid 22791); 10 Feb 2009 21:13:10 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from nicole.bmts.com (HELO nicole.bmts.com) (216.183.128.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Feb 2009 21:12:59 +0000 Received: from [192.168.254.14] (cheetah-tiv-ve3000-126-0096.bmts.com [209.240.126.96]) by nicole.bmts.com (8.13.1/8.13.1) with ESMTP id n1ALCt6x012112 for ; Tue, 10 Feb 2009 16:12:55 -0500 Message-ID: <4991EDD7.4090804@bmts.com> Date: Tue, 10 Feb 2009 21:13:00 -0000 From: Ralph Hempel User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?) References: <4990B031.4050807@tlinx.org> <4990B128.7030004@cygwin.com> <4990CB8D.3050704@tlinx.org> <4990D05A.4050202@cygwin.com> <4990DA52.9050900@tlinx.org> <4990E0BF.1010502@cygwin.com> <4990EC89.8070901@tlinx.org> <4991004F.1080006@cygwin.com> <4991E1CC.9060804@tlinx.org> <4991EB3C.3090800@cygwin.com> In-Reply-To: <4991EB3C.3090800@cygwin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-brucetelecom.com-MailScanner-Information: Please contact Bruce Telecom 519.368.2000 for more information X-brucetelecom.com-MailScanner: Found to be clean X-brucetelecom.com-MailScanner-From: rhempel@bmts.com X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-02/txt/msg00276.txt.bz2 Larry Hall (Cygwin) wrote: > This can be done now, if you look back through the thread to all the > different options I outlined and even a few scripts others have thrown > in. What Linda is proposing here is simply having the mechanism for > communicating this be an environment variable. While this could arguably > make it easier to do what you want, it doesn't mean that you can't do > it now for either Cygwin 1.5 or the upcoming 1.7 (though you may be > required to do something different for 1.5 and 1.7.) For what it's worth, you can easily retrieve a known registry key (that you have permission to access) using a batch file and then store that in a temporary variable. (I'm sure the gurus already know this) I really dislike software that pollutes my environment for me, but I really like software that lets me do it myself, if that makes any sense. Ralph -- 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/