[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: win32 "Path"

From: Alessandro Vesely
Subject: Re: win32 "Path"
Date: Mon, 07 Mar 2005 15:19:58 +0100

David Baird wrote:
> > Regarding the win32 "Path" discussions. I noticed that even though my
> > system environement variable is called "PATH". When i type "set" in a
> > cmd.exe, I still see "Path" as the variable name.  This is how it
> > appears in the 3.81 beta make as well I noticed.
> This is my observation as well. CMD.EXE forces the name to Path, and
> seems to be case sensative. If you set PATH and Path in a make file,
> it is the Path variable which gets recognized by CMD.EXE.

Setting PATH and Path in a make file is not case preserving.

Curiously, the sorting is done placing lower case letters first, getenv
delivers the first match. That's how the "write-protected" environment
variable worked.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]