|
Boost Users : |
Subject: [Boost-users] file system create directory permissions problem in windows
From: Jose (jc.fernandez.navarro_at_[hidden])
Date: 2011-11-09 13:15:45
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net