Hi,

I am trying to create a directory in my temp folder in windows.
Using this sintax :

       boost::filesystem::remove_all(tcd);
       boost::filesystem::create_directory(boost::filesystem::path(tcd));

tcd is a char* that looks like :

"%TEMP%\file_123456"

I get the error "the system can not find the patch"

If I use _mkdir. I also get an error.

Is there anything that I am missing to create directories in the env. variable temp in windows?

The code works just fine in linux.

Thanks

Jose