💻 Software
Is there any command line tool that can be used to edit environment variables in Windows?
Fresh7 days ago
Mar 15, 202617092 viewsConfidence Score0%
0%
Problem
Is there any command line tool that can be used to edit environment variables in Windows? It would be nice if this was smart tool, for example: When adding some path to let's say the PATH variable and this path is already there it shouldn't double this entry. Inserting a new path to the PATH variab…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there any command line tool that can be used to edit environment variables in Windows?
Low Risk
I don't know any tool that does this, but maybe you can use the command: to read the current path, and to write your new value. You need admin rights for hsving right acccess in HKLM. If that is a problem, consider modifying the user specific path s…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix