delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/11/01:54:33

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: <alpine.DEB.2.00.0902110051550.7782@tmcd.austin.tx.us>
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> <Pine DOT NEB DOT 4 DOT 64 DOT 0902101450530 DOT 21431 AT panix1 DOT panix DOT com> <4991EB3C DOT 3090800 AT cygwin DOT com> <Pine DOT NEB DOT 4 DOT 64 DOT 0902101617520 DOT 3221 AT panix2 DOT panix DOT com> <49920C32 DOT 7050507 AT cygwin DOT com> <Pine DOT NEB DOT 4 DOT 64 DOT 0902101819330 DOT 14422 AT panix2 DOT panix 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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019