how to get the windows PATH env in cygwin
Andrew DeFaria
Andrew@DeFaria.com
Tue Dec 1 02:10:00 GMT 2009
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
More information about the Cygwin
mailing list