title: How to skip !@Fharb, $Recycle.Bin Config.Msi, Recovery and so on (such as systemFiles ) using std::directoryIterator (c++)?
body: <pre><code>#include &lt;filesystem&gt;
  #include &lt;string&gt;
  for (const auto &amp;pfile : std::directory_iterator(path))
  {
   // Get name and then, I wanna skip above subject files... 
   // (!@FHarb,$Recycle.Bin, Config.Msi, Recovery, Documents and Settings and so on such as system files)
      auto name = pfile.path().filename().u8string();
  }
  </code></pre>
  <p>I recently &quot;std::filesystem::directory_iterator&quot; in vs2017</p>
  <p>I wanna skip above files but directory options I found is not effective (none, follow directory symlink)</p>