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