title: Removing directory recursively
body: <p>I'm doing a single Batch-File currently that deletes all contents from a specific folder on the Server.
  It is working so far, but directories with spaces in the Folder name will not be recognized unfortunately.
  I have no idea where to put the quotation marks in the script to overcome this limitation.</p>
  
  <p>This is the script so far, it sits in the root of "D:\" :</p>
  
  <pre><code>cd Sharedfolder
  for /f %%i in ('dir D:\Sharedfolder /B /D') do rd %%i /Q /S
  del /F /S /Q *.*
  </code></pre>
  
  <p>It works good, but as soon as I have a Directory inside of "Sharedfolder" it will not work for that directory.</p>