Can't find ping.exe, path is messed up

Eric Lilja mindcooler@gmail.com
Fri Apr 6 13:10:00 GMT 2007


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/



More information about the Cygwin mailing list