FG

cmd.exe SET command does not save values for new cmd.exe sessions

Fresh3 days ago
Mar 15, 202611477 views
Confidence Score0%
0%

Problem

Possible Duplicates: Set Permanent Environmental Variable in Windows XP Is there a way to set Windows environment variables from the command line PERMANENTLY The set command does not save values between cmd.exe sessions. How can I save environmental values between new cmd.exe sessions? For example …

Error Output

set path=%path%;C:\Mingw\bin

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: cmd.exe SET command does not save values for new cmd.exe sessions

Low Risk

Use SETX as per answers in this thread (linked from the right hand side here as a related question): Is there a way to set Windows environment variables from the command line PERMANENTLY

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment