X-Recipient: archive-cygwin@delorie.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@panix.com
To: cygwin@cygwin.com
Subject: Re: RFE?: CygWinDir in ENV?
In-Reply-To: <20090211060039.GA13097@ednor.casa.cgf.cx>
Message-ID: <alpine.DEB.2.00.0902110051550.7782@tmcd.austin.tx.us>
References: <4990DA52.9050900@tlinx.org> <4990E0BF.1010502@cygwin.com> <4990EC89.8070901@tlinx.org> <4991004F.1080006@cygwin.com> <4991E1CC.9060804@tlinx.org> <Pine.NEB.4.64.0902101450530.21431@panix1.panix.com> <4991EB3C.3090800@cygwin.com>  <Pine.NEB.4.64.0902101617520.3221@panix2.panix.com> <49920C32.7050507@cygwin.com> <Pine.NEB.4.64.0902101819330.14422@panix2.panix.com> <20090211060039.GA13097@ednor.casa.cgf.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@panix.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/

