title: batch command to grab latest file by wildcard name
body: <p>I'm trying to take the newest file from a directory that begins with <code>LEEXTR_DC30</code> and copy it to another directory. The source file is dated. I would also like to get rid of the date and just save it to the new directory as <code>LEEXTR_DC30.txt</code>. I then want to delete the copied file at a specific time.... Any help would be greatly appreciated!! I have a start below...
  The original file is named something like this (depending on day it's created) <code>LEEXTR_DC30_201404180915a_1.txt</code></p>
  
  <pre><code>copy "\\taaproc0200a\D$\hbc\data\dc\backup\LEEXTR_DC30*.txt" "D:\Kronos\InterfaceDesigner\DA DC Interface\Associate\DCXX Associate Files"
  exit /b 0
  </code></pre>