title: Why does my batch script become unresponsive attempting to delete inexistant files?
body: <p>The first part of my script:</p>
  
  <pre><code>@echo off
  mode 34,18
  color f0
  del /s /q /f unsorted_frt.txt &gt;nul 2&gt;nul
  del /s /q /f output_frt.txt &gt;nul 2&gt;nul
  del /s /q /f frt.txt &gt;nul 2&gt;nul
  del /s /q /f datas_futuros_rede_tan.txt &gt;nul 2&gt;nul
  del /s /q /f datas_futuros_rede_tan.csv &gt;nul 2&gt;nul
  del /s /q /f c:\datas_futuros_rede_tan.csv &gt;nul 2&gt;nul
  (etc.)
  </code></pre>
  
  <p>Using Windows 7 it succeeds. But if the files to delete don't exist, the <code>.bat</code> file ignored this and continued anyway. I upgraded to Windows 10 and now, if the files to delete don't exist, the script fails entirely.</p>
  
  <p>I need the script to continue despite this. How can I make that work on Windows 10? This is what it currently looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/u6Q69.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u6Q69.png" alt="enter image description here"></a></p>
  
  <p>It stops at this screen. If I delete this first part of the script, the rest runs normally.</p>