title: Writing a batch file to delete files with wildcards
body: <p>I have multiple websites set up in the same folder, and I want to create a batch file that will delete the cache in each of them without having to add a new line for each site. For example I am using this:</p>
  
  <pre><code>del /S /Q D:\www\site-name\cache\*
  </code></pre>
  
  <p>Which works, but I have to add a new line for every site in <code>D:\www</code>. The del command doesn't support:</p>
  
  <pre><code>del /S /Q D:\www\*\cache\*
  </code></pre>
  
  <p>So what is a better way to do this?</p>