Quote Originally Posted by rudy01 View Post
the following code will go through the Dir1, and it will fail in creating the "path" when it reaches ".file3" or ".subdir2"
When you say "create the path", do you mean create an instance of boost::filesystem::path that is initialized to the path that ends with ".file3"?
Are you getting an assertion somewhere, or a crash?
Also please mention which version of boost you are using and which version of the Filesystem library (version 2 and 3 are maintained in parallel).