Okay, Thanks. But is there a way I can access that environment variable inside from inside a C++ program?
Also, is it possible to read data from a cookie file from inside a program? That's actually what I'm trying to do. The problem is that the cookie files are in Documents and Settins/<username>/.... and I can't determine the path without knowing the username. I actually tried just putting %username% as the name of the directory and it didn't work.