title: How do I copy a file using a wildcard in Windows without appending?
body: <p>I have an excel file that I download from an vendor FTP site on a daily basis.  Every day the file name changes to contain the date and the vendor appends either "actual" or "estimate" to the end of the file.  </p>
  
  <p>example:<br>
  F_02262014_actual.xlsx<br>
  F_02262014_estimate.xlsx<br>
  etc.  </p>
  
  <p>Because of these slight changes, I'm using a wildcard to copy the file to a consistent name in another directory.  </p>
  
  <p>Example:<br>
  copy \Source\F_02262014* \Target\CurrentFile.xlsx  </p>
  
  <p>My problem is that whenever I use a wildcard in the copy command, Windows assumes I'm appending several files to one.  This causes the file to get corrupted (all contents deleted for some reason).  </p>
  
  <p>Is there a command, or series of commands, that will copy the first file matching the file pattern to the desired file name?</p>