title: Getting File not found error when running Batch command to delete empty folders and subfolders
body: <p>For some reason I am getting an "File Not Found" Error when I run this DOS command to delete empty folders and subfolders. It looks correct as far as I can tell. Does anyone have any suggestions?</p>
  
  <pre><code>for /f "delims=" %%x in (dir /s /b /ad ^| sort /r') do rd "%%x" 2&gt;NUL
  </code></pre>