I'm looking for a way to set DOS environment variables from C++. I've tried "_putevn" but it's only good for the program thread.