
avanindra singh wrote:
Hi Jeff,
Thanks for the reply.
I caught the exception using this code:
try{ create_directory(bundle_path); } catch(boost::system::system_error const &e) { cerr<
The printed output was
Throw in function (unknown) Dynamic exception type: class boost::exception_detail::clone_impl
,struct boost::filesystem::path _traits> > > > std::exception::what: boost::filesystem::create_directory: The filename, directo ry name, or volume label syntax is incorrect: "E:\doggy" Can you point me what mistake I am doing here?..I believe the syntax of path is correct.
Please don't top post. Lookup the documentation on create_directory versus create_directories. Simplify your test case to just what's needed for creating your directories. Jeff