I am trying to set environment variable from a console application by executing it from my windows application. I invoke console application and send the value of environment variable as parameter to it, then set the thread to wait for 10 seconds to proceed with next execution. In the next step i try to load a new .exe which reads the value set to the environment variable. The exe will not read the new value and continue to refer the value set earlier.I am trying to set environment variable from a