X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Date: Wed, 11 Feb 2009 00:54:06 -0600 (CST) From: tmcd AT panix DOT com To: cygwin AT cygwin DOT com Subject: Re: RFE?: CygWinDir in ENV? In-Reply-To: <20090211060039.GA13097@ednor.casa.cgf.cx> Message-ID: References: <4990DA52 DOT 9050900 AT tlinx DOT org> <4990E0BF DOT 1010502 AT cygwin DOT com> <4990EC89 DOT 8070901 AT tlinx DOT org> <4991004F DOT 1080006 AT cygwin DOT com> <4991E1CC DOT 9060804 AT tlinx DOT org> <4991EB3C DOT 3090800 AT cygwin DOT com> <49920C32 DOT 7050507 AT cygwin DOT com> <20090211060039 DOT GA13097 AT ednor DOT casa DOT cgf DOT cx> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, 11 Feb 2009, Christopher Faylor wrote: > On Tue, Feb 10, 2009 at 06:22:21PM -0600, Tim McDaniel wrote: > >Well, not in *this* special case, because "like this" is trying to > >find the Cygwin installation in the first place; if it knew where > >regtool was, it would already know where Cygwin was installed ... > > You sort of have to know where "reg" or any other program is located > if you want to run it too. It's in PATH by default on a Microsoft Windows system, at least on the Windows Server 2003 and Windows XP that I tested it on. > If this is really a terrifically big issue then just add the cygwin > bin directory to your windows path directory and regtool, mount, and > all sorts of other programs will be available to you. While that's a reasonable idea in general, in my particular case I can't necessarily depend on the user doing that, and on the main machine that I use, the administrator put mingw in the path. -- Tim McDaniel; Reply-To: tmcd AT panix DOT com -- 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/