digitalmars.D.learn - How can I append PATH to environment["PATH"] in runtime?
- Marcone (1/1) Mar 12 2020 environment["PATH"] ~= r";D:\folder\"; // Error
- Steven Schveighoffer (6/7) Mar 13 2020 Did you try the long way?
- Marcone (3/10) Mar 13 2020 Very good! Work very well
On 3/13/20 2:08 AM, Marcone wrote:environment["PATH"] ~= r";D:\folder\"; // ErrorDid you try the long way? environment["PATH"] = environment["PATH"] ~ r";D:\folder\"; It would be nice to have environment support opIndexOpAssign for concatenation. -Steve
Mar 13 2020
On Friday, 13 March 2020 at 13:28:01 UTC, Steven Schveighoffer wrote:On 3/13/20 2:08 AM, Marcone wrote:Very good! Work very wellenvironment["PATH"] ~= r";D:\folder\"; // ErrorDid you try the long way? environment["PATH"] = environment["PATH"] ~ r";D:\folder\"; It would be nice to have environment support opIndexOpAssign for concatenation. -Steve
Mar 13 2020