Hello *,<br><br>iterating through a directory (let&#39;s say in Windows c:\) with system files, to which only OS has access (like hiberfil.sys) causes the directory iterator to throw an exception. This is all fine, but how can I know what was the error?<br>
status function of the particular directory enty returns regular_file as file_status and system_error_type is 0. The exception thrown is as always (in the filesystem lib) very much saying: boost::directory_iterator.<br><br>
<br>Is anybody aware of other ways to determine what happened? Just to ignore the exception while iterating through the directory is not always the best choice.<br><br><br><br>Many Thanks,<br>Ovanes<br>

