I'm trying to set a system variable from a C++ program, the same way SET VARIABLE= will do in dos.