Just do:

SET

You can also do SET prefix to see all variables with names starting with prefix.

For example, if you want to read only derbydb from the environment variables, do the following:

set derby 

...and you will get the following:

DERBY_HOME=c:\Users\amro-a\Desktop\db-derby-10.10.1.1-bin\db-derby-10.10.1.1-bin
Answer from Jon on Stack Overflow
🌐
GitHub
gist.github.com › RebeccaWhit3 › 5dad8627b8227142e1bea432db3f8824
Complete List of Environment Variables in Windows 10 · GitHub
This tutorial will show you a complete list of environment variables that can be used to reference standard directories and parameters in Windows 10.
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › deployment › usmt › usmt-recognized-environment-variables
Recognized environment variables | Microsoft Learn
When the XML files MigDocs.xml, MigApp.xml, and MigUser.xml are used, the environment variables can be used to identify folders that can be different on different computers. Constant special item ID list (CSIDL) values provide a way to identify folders that applications use frequently but could have different names or locations on any given computer.
Discussions

ELI5: What are environment variables on Windows ?
I’ll start things off with a quick comment rather than a whole explanation. Environment variables exist in nearly any operating system, not just Windows. Environment variables are often used for individual pieces of software, often saved in “.env” files. These let you set variables that have to do with the environment the software is in, like if it’s a production environment or a development environment. More on reddit.com
🌐 r/eli5_programming
3
7
June 6, 2022
Please help me understand the purpose of environments in PowerShell
Powershell has no "Environments". If they " look similar to variables", you're most likely talking about environment variables. They are not related to Powershell, they are part of the environment the OS provides to process. They provide information to the processes. Partly they are maintained by the OS itself, partly they are user maintained to configure and control processes. More on reddit.com
🌐 r/PowerShell
42
11
December 25, 2023
Environment Variable inside a single '
There are a lot of different ways to do this, I like PowerShell's flexibility when dealing with strings. Single quotes do indeed turn everything literal. however, single quotes are literal inside of double quotes msiexec wont care if the path is encased in single or double quotes so you could use single quotes in your string -ArgumentList "/I '$env:temp\My MSI File.msi' /qn" You could also escape the double quote with a back tick -ArgumentList "/I `"$env:temp\My MSI File.msi`" /qn" Unrelated to your post but helpful when dealing with strings. If you are trying to access a property in an object that is a string it can be formatted like this "This is the users first name $($user.firstname)" More on reddit.com
🌐 r/PowerShell
6
14
November 10, 2021
Environment variables (Windows and WSL) ?
https://devblogs.microsoft.com/commandline/share-environment-vars-between-wsl-and-windows/ It's answered in the FAQ More on reddit.com
🌐 r/bashonubuntuonwindows
1
3
April 7, 2020
🌐
Eleven Forum
elevenforum.com › windows support forums › tutorials
Complete List of Environment Variables in Windows 11 | Windows 11 Forum
November 20, 2024 - This tutorial will show you a complete list of default environment variables that can be used to reference standard directories and parameters in Windows 10 and Windows 11. Environment variables are a set of dynamic named values that can affect the way running processes will behave on a...
🌐
Marc Nuri
blog.marcnuri.com › home › windows: how to list all environment variables
Windows: How to list all environment variables - Marc Nuri
October 29, 2023 - A screenshot of the Windows System Properties dialog · The Environment Variables dialog will open. You can see the list of all environment variables for the current user and the system.
🌐
SS64
ss64.com › nt › syntax-variables.html
Windows Environment Variables - Windows CMD
How-to: Array Variables in CMD. How-to: User Shell Folders - Profile, Start Menu - Location of user profile folders. How-to: Detecting 32 vs 64 bit Windows. CALL - Evaluate environment variables. SET - View environment variables, set local variables. SETX - Set environment variables.
🌐
Cloud Infrastructure Services
cloudinfrastructureservices.co.uk › home › blog › windows environment variables list: complete list on windows 10 / 11
Windows Environment Variables List: Complete List on Windows 10 / 11
August 26, 2022 - Above guide provides you with a comprehensive list of Environment Variables for Windows 10 and 11. Also it briefly investigates how you can see and edit some of your Windows operating system’s variables. Summarizing the Environment Variables can enhance your Windows experience by offering you new ways to customize and use it.
Find elsewhere
🌐
NinjaOne
ninjaone.com › home › blog › it ops › how to view and manage environment variables in windows
How to View and Manage Environment Variables In Windows | NinjaOne
March 12, 2026 - This is the simplest method, ideal for beginners or users who prefer a graphical interface. Right-click the Start button and select System. On the right panel, click Advanced system settings.
🌐
Medium
kevinlinxc.medium.com › viewing-and-setting-environment-variables-in-every-shell-4df43127bd8
Viewing and Setting Environment Variables in Every Shell | by Kevin Lin | Medium
September 11, 2023 - # list all environment variables set # fetch a specific environment variable echo %VariableName% # pretty print the PATH variable (one path per line) for %A in ("%PATH:;=" "%") do @echo %~A # set an environment variable for the current session set VariableName=Value # delete an environment variable for the current session set VariableName=
🌐
Michael Smith
mikesmith.us › home › technology › operating system › windows › windows 10 › comprehensive list of environment variables in windows 10/11
Comprehensive List of Environment Variables in Windows 10/11 - Michael Smith
October 3, 2022 - After launching Windows PowerShell, type in the command: Get-ChildItem Env:. This will display the list of Environment Variables. To sort the list you can use the command: Get-ChildItem Env: | Sort Name.
🌐
Pureinfotech
pureinfotech.com › home › complete list of environment variables on windows 10, 11
Complete list of environment variables on Windows 10, 11 - Pureinfotech
August 14, 2023 - Keep in mind that some of the variables ... all the environment variables available on your device using the Get-ChildItem Env: | Sort Name PowerShell command....
🌐
GitHub
gist.github.com › pkfrom › f6eb82316b725a51f357
List of Environment Variables in Windows Operating System. · GitHub
List of Environment Variables in Windows Operating System. - List_of_ENV_in_Windows.md
🌐
Wikipedia
en.wikipedia.org › wiki › Environment_variable
Environment variable - Wikipedia
February 3, 2026 - In general, the collection of environment variables function as an associative array where both the keys and values are strings. The interpretation of characters in either string differs among systems. When data structures such as lists need to be represented, it is common to use a colon (common on Unix and Unix-like) or semicolon-delineated (common on Windows and DOS) list.
🌐
Itechtics
itechtics.com › microsoft › windows › windows 11 › windows environment variables – the ultimate guide for all windows versions
Windows Environment Variables - The Ultimate Guide For All Windows Versions
March 5, 2024 - Rapid Environment Editor (REE) provides a very user-friendly way of editing environment variables. It lists the system variables in the left pane and the user variables in the right pane, while the bottom pane will give details about the selected variable.
🌐
Make Tech Easier
maketecheasier.com › home › computing › windows › windows environment variables: a complete list
Windows Environment Variables: A Complete List - Make Tech Easier
July 29, 2022 - Windows environment variables are commonly-used short-cut commands to open a folder path in Windows. Whether you want to locate specific folders or troubleshoot a bug, you can perform these tasks quickly by typing environment variables in the Run menu or Command Prompt. The following is a complete list of system and user environment variables in Windows 10 and Windows 11.
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › powertoys › environment-variables
PowerToys Environment Variables for Windows - Manage Variables | Microsoft Learn
When a profile is applied, if there ... of the environment, respecting the order of evaluation of environment variables (Profile > User > System)....
🌐
Computer Hope
computerhope.com › issues › ch000088.htm
What Are the Default Environment Variables in Windows?
June 1, 2025 - On this page, are the default names and values of the environment variables used by Windows XP, Vista, 7, 8, 10, and 11.