Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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

Browse other questions tagged or ask your own question.