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

Marcone marcone at email.com
Sat Mar 14 02:29:27 UTC 2020


On Friday, 13 March 2020 at 13:28:01 UTC, Steven Schveighoffer 
wrote:
> 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

Very good! Work very well


More information about the Digitalmars-d-learn mailing list