title: How to delete N files of X type from Y subfolders from a Windows batch file?
body: <p>I'm trying to write a windows batch file that can delete files from subdirectories.  I would rather not hard code the directory structure in, so I can use this process with other projects.</p>
  
  <ul>
  <li>I need to delete files of X type,</li>
  <li>I have the parent folder <code>C:\MyProject</code>,</li>
  <li>There are Y subfolders <code>C:\MyProject\?</code>,</li>
  <li>There are N files to delete.</li>
  </ul>
  
  <p>Is there a quick <code>del</code> (of type) function I am simply missing?</p>