title: Delete folders older than 10 days but NOT files
body: <p>I need to delete old backup folders that are inside different folder and that are older than 10 days. The problem is that there are also some INI files that can't be touched by the script.</p>
  
  <p>For some time I was using this line given below. I can't use it on the new backup folder, because it will also remove the INI files. I found a topic which describes this procedure using Powershell
  <a href="https://stackoverflow.com/questions/35936490/powershell-delete-old-folders-but-not-old-files">Powershell - delete old folders but not old files</a></p>
  
  <p>Here is my code:    </p>
  
  <pre><code>ForFiles /p "E:\Logs" /s /d -30 /c "cmd /c del @file"
  </code></pre>
  
  <p>Is there a way to make it work using Windows CMD?</p>