This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to get the windows PATH env in cygwin


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 <http://defaria.com>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]