Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Programs (on Windows) often expect certain environment variables to be set. However, the name of these environment variables is often not well documented. E.g.: Does Eclipse expect %MINGW_HOME% or %MINGW_DIR% or whatever? (This is just an example, there are more difficult cases.)

Therefore it would be handy to log every (successful and unsuccessful) access to environment variables, just like Process Monitor logs access to files.

Is there any tool to do so?

It should be possible if the target process uses GetEnvironmentVariable(), but it's probably not possible if GetEnvironmentStrings() is used...

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.