what is a convenient way to create a directory when a path like this is given: \"\\server\\foo\\bar\\\"
note that the intermediate directories may not exist.
You can also use template bool create_directories(const Path & p) from Boost::Filesystem library. And it is available not only in Windows.