title: Recursively find and delete a folder using batch file
body: <p>I am trying to write a simple batch file which will recursively find and delete a folder. But the following script is not looking under sub folder. Wondering how to do that?</p>
  
  <pre><code>@echo off
  cd /d "C:\"
  for /d %%i in (temp) do rd /s "%%i"
  pause
  </code></pre>
  
  <p>Thanks!</p>