c++ how to create a directory from a path
c++, directory
Solution
SHCreateDirectoryEx() can do that. It's available on XP SP2 and newer versions of Windows.
Problem
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. CreateDirectory and mkdir only seem to create the last part of a directory and give an error otherwise. the platform is windows, MSVC compiler. thanks!