Answer the question
In order to leave comments, you need to log in
How to add environment variables on behalf of the current user?
You need to add environment variables to the system. The set/setx commands on behalf of the user are perfectly executed, issue "Success. The specified value is saved.", and ... they don't do shit. Absolutely. Running as admin DOES introduce variables, but they are visible as admin. And it is necessary that they be visible on behalf of the user who double-clicked on the batch file. Suggest a way to solve the problem
Answer the question
In order to leave comments, you need to log in
Issue resolved. It was necessary to execute the code on behalf of the administrator and restart the computer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question