title: Manage Windows directory using batch(sorting and deleting)
body: <p>I want to create a batch file that will sort the files(based on created date) in a directory and only keep x number of the most recent files.</p>
  
  <p>The files also have a date/time in their names(ie. file201208140322) so if it's possible doing this by comparing current date/time to the substring I am open to this as well.</p>
  
  <p>Can anybody help me with the command?  Thank you for your help.</p>