FG
💻 Software

Setting or modifying a (system wide) environment variable in cmd.exe

Fresh5 days ago
Mar 15, 202650029 views
Confidence Score0%
0%

Problem

I am looking for a convenient way to add and/or modify and/or delete an environment variable from the command line. Particularly, I find myself at times in situations when I have to add a few variables in cmd.exe. I'd be grateful if someone showed me a non-GUI way to modify (that is: to add a new d…

Error Output

%PATH%

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Setting or modifying a (system wide) environment variable in cmd.exe

Low Risk

You could use setx. User variable: System variable:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment