notna wrote:
This works for me on Win7 with DMD2.061http://dpaste.dzfl.pl/64529e76
Yes that works, but that was not quite the question. The point is you cannot *set* the path variable. But meanwhile I think it isn't a good idea anyway. The PATH belongs to the user/system, not to programs. Otherwise that may introduce some harm...
environment("PATH"] = pathSeparator ~ path ~ pathToMyDir ; // failed, unidentified identifier
Yep, typo! Peter
