X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: how to get the windows PATH env in cygwin Date: Mon, 30 Nov 2009 19:05:39 -0700 Lines: 17 Message-ID: References: <8d7f7110911300444l7ab3c2c8l5ac1edf0097d2065 AT mail DOT gmail DOT com> <4B142061 DOT 6000200 AT cygwin DOT com> <8d7f7110911301717jbafbc2ci432817b1c713f1e6 AT mail DOT gmail DOT com> <20091201013022 DOT GA2336 AT KCJs-Computer> <4B147423 DOT 1050404 AT bopp DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.5) Gecko/20091121 Lightning/1.0pre Thunderbird/3.0 In-Reply-To: <4B147423.1050404@bopp.net> X-Stationery: 0.4.10 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 On 11/30/2009 06:40 PM, Jeremy Bopp wrote: > Just to clarify since there seems to be a little confusion concerning > what the OP needs. Gary's suggestion will convert the value of the > PATH environment variable as the shell used to run cygpath sees it to > a value which is acceptable by Windows-native applications. That means > that you'll likely have the additional elements as prepended by > /etc/profile in the result. > > If you want to see the Windows PATH setting unmolested by Cygwin, you > will either need to strip out the additions set by /etc/profile or > avoid running under an environment modified by /etc/profile. Jeeze, not need to go through all that. Simply start the Windows command prompt and type in echo %PATH%. -- Andrew DeFaria Some people are like Slinkies . . not really good for anything, but you still can't help but smile when you see one tumble down the stairs. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple