From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24443 invoked by alias); 13 Feb 2009 23:09:15 -0000 Received: (qmail 24435 invoked by uid 22791); 13 Feb 2009 23:09:14 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from Unknown (HELO simon.codemeta.com) (199.125.75.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Feb 2009 23:09:06 +0000 Received: by simon.codemeta.com (Postfix, from userid 115) id 9C79F44ADB; Fri, 13 Feb 2009 18:08:58 -0500 (EST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by simon.codemeta.com (Postfix) with ESMTP id D1E0544ADA for ; Fri, 13 Feb 2009 18:08:57 -0500 (EST) Message-ID: <4995FD82.5080104@veritech.com> Date: Fri, 13 Feb 2009 23:09:00 -0000 From: "Lee D.Rothstein" Reply-To: Cygwin Tech List User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: 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> In-Reply-To: <4990EC89.8070901@tlinx.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1 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/msg00341.txt.bz2 > 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/