On Saturday, 29 June 2019 at 09:28:03 UTC, BoQsc wrote:
However, setting the variable via "environment.opIndexAssign"
seems to not work.
What should we do?
I don't know.
I'm glad I'm on this forum, I know exactly what you did wrong mr.
BoQsc
I checked the documentation and it seems that,
I would like to remove/add/change Environment Paths using D
language's Phobos.
https://en.wikipedia.org/wiki/PATH_(variable)
I saw in the documentation that there is a class file
"std.process : environment" that has the supposed ability to
minipulate environment variables.
On Saturday, 29 June 2019 at 09:50:12 UTC, BoQsc wrote:
On Saturday, 29 June 2019 at 09:28:03 UTC, BoQsc wrote:
I checked the documentation and it seems that, you assumed the
wrong syntax for "environment.opIndexAssign()"
The correct syntax is:
environment.opIndexAssign("Some Random Value
On Saturday, 29 June 2019 at 09:50:12 UTC, BoQsc wrote:
The correct syntax is:
environment.opIndexAssign("Some Random Value Here",
"variableName");
And not this one:
environment.opIndexAssign("variableName", "Some Random Value
Here");
Note that opIndexAssign is an operator overload [1], so
On Saturday, 29 June 2019 at 10:01:35 UTC, BoQsc wrote:
Are not accessible in Windows 10 settings, at all, as far as I
see now.
Is that suppose to be that way?
A program can only modify its own environment variables. These
modifications are passed to its children, but not back up to its