!envvar
The !envvar extension displays the value of the specified environment variable.
!envvar Variable
Parameters
Variable
Specifies the environment variable whose value is displayed. Variable is not case sensitive.
DLL
Exts.dll
Additional Information
For more information about environment variables, see Environment Variables and the Microsoft Windows SDK documentation.
Remarks
The !envvar extension works both in user mode and in kernel mode. However, in kernel mode, when you set the idle thread as the current process, the pointer to the Process Environment Block (PEB) is NULL, so it fails. In kernel mode, the !envvar extension displays the environment variables on the target computer, as the following example shows.
0:000> !envvar _nt_symbol_path
_nt_symbol_path = srv*C:\mysyms*https://msdl.microsoft.com/download/symbols
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for