delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/06/09:10:51

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT 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 AT sea DOT gmane DOT org> <03ad01c77846$75fb0f20$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <ev5f6c$2dt$1 AT sea DOT gmane DOT org> <ev5fv3$52g$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
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 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

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/

- Raw text -


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