How can I append PATH to environment["PATH"] in runtime?

Steven Schveighoffer schveiguy at gmail.com
Fri Mar 13 13:28:01 UTC 2020


On 3/13/20 2:08 AM, Marcone wrote:
> environment["PATH"] ~= r";D:\folder\"; // Error

Did you try the long way?

environment["PATH"] = environment["PATH"] ~ r";D:\folder\";

It would be nice to have environment support opIndexOpAssign for 
concatenation.

-Steve


More information about the Digitalmars-d-learn mailing list