delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/01/15:05:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 1 Dec 2004 15:02:57 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Luke Kendall <luke DOT kendall AT cisra DOT canon DOT com DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: PATH and SystemRoot oddity
In-Reply-To: <20041201003317.6835784C99@pessard.research.canon.com.au>
Message-ID: <Pine.GSO.4.61.0412011500500.4276@slinky.cs.nyu.edu>
References: <20041201003317 DOT 6835784C99 AT pessard DOT research DOT canon DOT com DOT au>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 1 Dec 2004, Luke Kendall wrote:

> On 26 Nov, Igor Pechtchanski wrote:
> >  On Fri, 26 Nov 2004, Luke Kendall wrote:
> >
> > > I see that by default PATH includes some entries like
> > > %SystemRoot%/System32
> > >
> > > I also note that $SystemRoot is undefined, yet $SYSTEMROOT contains
> > > the expected C:\WINDOWS value.
> > >
> > > This of course causes problems.  Would a backslash-style path work
> > > correctly if it were properly interpolated into the PATH?  Is the %
> > > notation special magic for Cygwin to handle DOS-isms?
> > >
> > > The case variance may be of interest, in that case.
> >
> >  The case variance is a red herring.
>
> Could you explain some more?  I was thinking that if SystemRoot but
> SYSTEMROOT was, it might be relevant.

The interpolation of the %...% variables into REG_MULTI_SZ values happens
on the Windows level, before Cygwin ever sees them.  Windows treats these
variables case-insensitively.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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