/
How To: View the value of Windows environment variables

We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!

How To: View the value of Windows environment variables

INTRODUCTION

Environment variables are, in short, variables that describe the environment in which programs run. The concept of environment variables exists in most operating systems, from Linux to OS X to Windows. In principle, they mean the same thing but the way they are implemented and used may differ. A common variable is named PATH. Many programs need to know where to find certain files, and the PATH variable tells them where they can find what they need. 

This article helps you to view the values of all currently defined environment variables in Windows.

STEP-BY-STEP GUIDE

  1. Open a command prompt
  2. In the command prompt run the following commands one after the other, pressing ENTER key after completing each command.

    Important information

    cd %temp%
    set > env_vars.txt
    notepad env_vars.txt
  3. A notepad window should be opened with all defined environment variables and their values. The name of the variable is on the left hand side of the '=' sign and the value is on the right hand side.




Related content

How To: Set the PATH variable in environment variable in Windows
How To: Set the PATH variable in environment variable in Windows
More like this
"'<command>' is not recognized as an internal or external command, operable program or batch file" - Error message is shown while executing a Windows command through command prompt (cmd) or an executable program
"'<command>' is not recognized as an internal or external command, operable program or batch file" - Error message is shown while executing a Windows command through command prompt (cmd) or an executable program
More like this
How To: Use Windows search in Windows 8.1, Windows 10 and Windows Server 2016
How To: Use Windows search in Windows 8.1, Windows 10 and Windows Server 2016
More like this
How To: Use Windows search in Windows 7 and Windows Server 2008 R2
How To: Use Windows search in Windows 7 and Windows Server 2008 R2
More like this
How To: Use Windows search in Windows 8 and Windows Server 2012 R2
How To: Use Windows search in Windows 8 and Windows Server 2012 R2
More like this
How To: Provide access to Registry keys
How To: Provide access to Registry keys
More like this