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<<diagnostic_information(e)<<endl; } The printed output was Throw in function (unknown) Dynamic exception type: class boost::exception_detail::clone_impl<struct boost:: exception_detail::error_info_injector<class boost::filesystem::basic_filesystem_ error<class boost::filesystem::basic_path<class std::basic_string<char,struct
st d::char_traits<char>,class std::allocator<char> >,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. Thanks Avanindra --- On Mon, 13/12/10, Jeff Flinn <TriumphSprint2000@hotmail.com> wrote:
|