How can I display the contents of an environment variable from the command prompt in Windows 7?
Fresh3 days ago
Mar 15, 20262509726 viewsConfidence Score1%
1%
Problem
In Windows 7, when I start the Command prompt, is there any command to display the contents of an environment variable (such as the or variables)? I have tried with , and but none of these work.
Error Output
JAVA_HOME
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I display the contents of an environment variable from the command prompt in Windows 7?
Low Risk
In Windows Command-Prompt the syntax is To get a list of all environment variables enter the command without any parameters. To send those variables to a text file enter the command Related How to list global environment variables separately from user-specific environment variables?
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix