Hi @Lynn Williams
This is our versioning application. It is written in C#. User will select one of 2 Gen environment for versioning. So it is unknown from the start, which Gen with, the app will work. That is why I am setting Environment Parameters in code, to comply with each Gen version requirements.
By the way, Gen8.5 works fine. We had Gen8.5 & Gen8.0 on the same PC and this technique was working back then. Now, as I sad, Gen8.6 ignores Process Environment Parameters.
Also running cmd script like this works:
As you can see I use SETLOCAL, that means environment parameters will be set only for the process.