X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Lilja <mindcooler@gmail.com>
Subject:  Re: Can't find ping.exe, path is messed up
Date:  Fri, 06 Apr 2007 15:10:19 +0200
Lines: 61
Message-ID: <ev5grm$7r8$1@sea.gmane.org>
References:  <ev5cf9$q6c$1@sea.gmane.org> <03ad01c77846$75fb0f20$2e08a8c0@CAM.ARTIMI.COM> <ev5f6c$2dt$1@sea.gmane.org> <ev5fv3$52g$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
In-Reply-To: <ev5fv3$52g$1@sea.gmane.org>
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

Eric Lilja skrev:
> Eric Lilja skrev:
>> Dave Korn skrev:
>>> On 06 April 2007 12:55, Eric Lilja wrote:
>>>
>>>> Here's my cycheck.out attached, anyone see anything funny? 
>>>
>>> Path:    C:\cygwin\usr\local\bin
>>>     C:\cygwin\bin
>>>     C:\cygwin\bin
>>>     C:\cygwin\usr\X11R6\bin
>>>     C:\cygwin\home\hivemind\mplayer
>>>     c:\PHP\
>>>     %SystemRoot%\system32
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>     %SystemRoot%
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>     %SystemRoot%\System32\Wbem
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>     c:\mingw32-make-3.81-2
>>>     c:\jdk1.5.0_09\bin
>>>     c:\Qt\4.2.3\bin
>>>     c:\Program Files\Common Files\Teleca Shared
>>>     c:\subversion\bin
>>>     c:\vs8\VC\bin
>>>     c:\vs8\Common7\IDE
>>>     c:\emacs\bin
>>>
>>>
>>>   I'm not used to seeing those unexpanded %-vars in cygcheck output.  
>>> Where
>>> did they come from?
>>
>> Hmm, neither am I. echo %SystemRoot% in cmd.com works just fine, but 
>> if I do echo %Path% in cmd.com they're not expanded. They are expanded 
>> on my laptop. Hmm, I wonder how this happened. I have a feeling it's 
>> one or the other of my two path altering programs, but maybe it's 
>> something completely different. Thanks for trying to help!
> 
> Ok, I think the problem may be that I am setting the type to REG_SZ and 
> not REG_EXPAND_SZ in my registry handler dll. I will update it and try 
> again and post back.

Right, now it works. Now I just need to find all my path modifying 
programs (I love creating those small utilities that automate tasks for 
me) and fix their bug. You directed me in the proper direction, Dave, 
thanks! It wasn't cygwin-related after all but maybe this information 
will be a benefit to some cygwin users anyway.

> 
>>
>>>
>>>
>>>     cheers,
>>>       DaveK
>>
>> - Eric
>>
>>
> 
> 


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

