id summary reporter owner description type status milestone component version severity resolution keywords cc 12518 boost::filesystem::unique_path throws std::exception and not filesystem_error gerald.lodron@… Beman Dawes "try this path tmp = boost::filesystem::temp_directory_path(); tmp /= ""MyApp-%%%%-%%%%-%%%%-%%%%""; path folderName; try { folderName= boost::filesystem::unique_path(tmp ); } catch(boost::filesystem::filesystem_error& roE) { std::cout << ""Never come here on windows temporary user account"" << std::endl; } catch (std::exception& roE) { std::cout << ""Here i come on windows temporary user account"" << std::endl; } in fact a boost exception should be thrown. Tested on Windows 8.1 x64" Bugs new To Be Determined filesystem Boost 1.58.0 Problem