// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <iostream>
#include <sstream>
#include <string>

using namespace std;

int main()
{
   char *navn = getenv("USERNAME");
   stringstream fra;
   fra << "c:\\Documents and Settings\\" << navn << "\\";
   cout << fra.str().c_str() << endl;
   return 0;
}
