This is the mail archive of the
mailing list for the Cygwin project.
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.Jeeze, not need to go through all that. Simply start the Windows command
prompt and type in echo %PATH%.
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.
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple