X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja Subject: Re: Can't find ping.exe, path is messed up Date: Fri, 06 Apr 2007 15:10:19 +0200 Lines: 61 Message-ID: References: <03ad01c77846$75fb0f20$2e08a8c0 AT CAM DOT ARTIMI DOT COM> 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: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/