id summary reporter owner description type status milestone component version severity resolution keywords cc 2725 boost::filesystem::exists throws on Windows if the drive letter doesn't exist davidjward30@… Beman Dawes "boost::filesystem::exists throws on Windows if the drive letter doesn't exist. This is rather unexpected. It's rather tedious to validate the drive letter beforehand or to have to catch the exception. I think it's reasonable to say that if the drive doesn't exist then the file doesn't exist. I noted that status_template checks a list of errors returned by get_file_attributes: if ((ec.value() == ERROR_FILE_NOT_FOUND) || (ec.value() == ERROR_PATH_NOT_FOUND) || (ec.value() == ERROR_INVALID_NAME) // ""tools/jam/src/:sys:stat.h"", ""//foo"" || (ec.value() == ERROR_INVALID_PARAMETER) // "":sys:stat.h"" || (ec.value() == ERROR_BAD_PATHNAME) // ""//nosuch"" on Win64 || (ec.value() == ERROR_BAD_NETPATH I would propose adding ERROR_INVALID_DRIVE to this list. " Bugs closed Boost 1.38.0 filesystem Boost 1.37.0 Problem worksforme