Posts by Igor Vinnicyos • 9 points
1 post
-
0
votes1
answer247
viewsQ: Set environment variables via shell_exec php
I need to make a php script to change/create the value of a windows environment variable shell_exec("setx VAR_TEST '2' /M"); The command runs but does not change the value of the variable, I run…