title: Filesystem cant copy files because they open in another program c++
body: <p>As you can see by the title I have issues when copying files from a directory to another. The code works perfectly fine but when the files are in use, obviously I get an error. Is there any way I can skip these files? (that are in use) and simply move on to the next?</p>
  <p>I have tried looking for a solution to my issue but it seems there isn't a function from what I've seen on the internet for filesystem, any information given helps. I provided the code below for copying files.</p>
  <pre><code>std::filesystem::copy(&quot;C:\\Users\\&quot;+ user+&quot;\\AppData\\Local\\tee\\test\\User Data&quot;, &quot;C:\\Users\\&quot;+user+&quot;\\AppData\\Local\\tee\\test\\Application&quot;, std::filesystem::copy_options::overwrite_existing | std::filesystem::copy_options::recursive);
  </code></pre>