See Environment Variables in Windows: Quick Steps and Tips


see environment variables windows
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

Fix Windows 11 OS errors with Fortect:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning to find broken files that are causing the problems
  • Right-click on Start Repair to fix issues affecting your computer’s security and performance
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

Want to see environment variables in Windows to understand what paths or configurations your system uses? Environment variables define important values like system directories, user paths, and temporary folders that affect how Windows and apps run.

Here’s how to view, edit, and manage them properly.

How to See Environment Variables in Windows?

1. View Environment Variables via System Properties

Follow these steps to quickly access and view variables from the Windows interface.

  1. Press Windows + R to open the Run dialog.
  2. Type sysdm.cpl and press Enter.
  3. In the System Properties window, go to the Advanced tab.
  4. Click Environment Variables near the bottom.
    environment variable
  5. You will see two sections:
    • User variables for your account
    • System variables for all users
      set environment variable for cypress

    You can view or edit any variable by selecting it and clicking Edit. For more details on managing variables and system paths, see how to edit the PATH environment variable in Windows.


    2. Check Environment Variables Using Command Prompt

    You can also list all variables directly from the command line.

    1. Press Windows + S, type cmd, and press Enter.
    2. In the Command Prompt, type set and press Enter.
    3. Scroll through the list to see all environment variables currently set for your session.
    4. To check a specific variable, type echo %VARIABLE_NAME%, for example echo %PATH%.

    If you are using Windows 11, check this tutorial on how environment variables work in Windows 11.


    3. See Environment Variables Using PowerShell

    PowerShell gives you a structured view of your system variables.

    1. Open PowerShell by typing it in the Start menu.
    2. Run the command Get-ChildItem Env:

    3. You will get a table showing variable names and their current values.
    4. To view one variable only, type $Env:PATH.

    You can also learn how to display them clearly by following how to print environment variables in PowerShell.


    4. View Environment Variables Temporarily in Task Manager

    You can check runtime variables for specific processes.

    1. Press Ctrl + Shift + Esc to open Task Manager.
    2. Go to the Details tab.
    3. Right-click a running process and select Properties.
    4. Under the Details tab, look for Environment (available in newer Windows 11 builds).

    This is useful when troubleshooting app-level configurations.


    How to Edit or Add Environment Variables

    1. Open System Properties again using sysdm.cpl.
    2. Click Environment Variables.
    3. To add a new one, click New under the relevant section.
    4. Enter the variable name and value, then click OK.
    5. To edit existing ones, select and click Edit, or Delete if not needed.

    Changes take effect after restarting the app or signing out.


    Why Environment Variables Matter

    • PATH helps Windows locate executable files.
    • TEMP and TMP store temporary data.
    • USERPROFILE directs apps to your user folder.
    • Developers use them to configure Java, Python, or Node.js runtimes.

    Incorrect editing can break app behavior, so modify with caution.


    What Are Environment Variables in Windows?

    Environment variables are key-value pairs that store system settings and user preferences. For example, the PATH variable tells Windows where to find executable files, while TEMP defines where temporary files are stored.

    They can be system-wide (apply to all users) or user-specific (apply only to your account).


    FAQs

    What is the fastest way to see environment variables?

    Typing “set” in Command Prompt or “Get-ChildItem Env:” in PowerShell gives instant results.

    Can I change environment variables permanently?

    Yes. You can edit them through System Properties > Advanced > Environment Variables.

    Do I need admin rights to edit system variables?

    Yes, changing system-wide variables requires administrator privileges.

    Can I back up environment variables?

    You can export them in PowerShell using the Export-Csv command to save a copy for later.

    Conclusion

    Viewing environment variables in Windows helps you understand how your system handles commands, file paths, and app configurations. Whether you are troubleshooting a program or setting up a development environment, using tools like System Properties, Command Prompt, and PowerShell gives you complete control over how Windows runs behind the scenes.

    More about the topics: How to, Windows 11 guides

    Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

    Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

    User forum

    0 messages