title: Batch script to delete files older than X days (based on creation date, not modified date)
body: <p>On a windows machine (win 7 or Win server 2008 R2) I have a batch script that copies some .config files to a backup folder. <br>I want to write another script that deletes the backup files created a week earlier.</p>
  
  <p>There are plenty of suggestions on how to use <code>FORFILES</code> (as example):</p>
  
  <pre><code>FORFILES /P "D:\Configs_Backup" /M *.config /D -7 /C "cmd /c del @file"
  </code></pre>
  
  <p>But this command uses the "modified" timestamp, while I need to use the creation date.</p>
  
  <p>Without installing any third party program, is it possible via command console to achieve this?</p>