On 11/30/2009 08:05 PM, Dave Korn wrote:
Andrew DeFaria wrote:
Simply start the Windows command prompt and type in echo %PATH%.
You must need to re-read the subject line, since your suggested method does not actually answer the question asked.
Indeed! You're right. So then the answer is that you can use that to see what the Windows PATH is before Cygwin gets to it and you can see the resulting PATH variable after Cygwin has modified it (or you can go through steps to try to stop Cygwin from modifying it) but there is no environment variable for the Windows PATH. You could change /etc/profile(?) to export WINDOWS_PATH=$PATH before it starts changing it - or maybe you can interrogate the registry. The real question here is what does he need the Windows PATH for? If just to look at then echo %PATH% in a cmd shell or look at System: Properties: Advanced: Environment variables: PATH (Both user and system).
--
Andrew DeFaria <http://defaria.com>
Is God willing to prevent evil, but not able? Then he is not omnipotent. Is he able, but not willing? then he is malevolent. Is he both able and willing? Then whence cometh evil? Is he neither able nor willing? Then why call him God?


--
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

Reply via email to