title: create a script to return the date of the most recent date file and append it to a file name
body: <p>My goal is to centralize information about when the last user backup was completed.</p>
  
  <p>On my network, I have backups run to these locations:</p>
  
  <pre><code>\\server\backup\user1
  \\server\backup\user2
  \\server\backup\user3
  </code></pre>
  
  <p>and so on.</p>
  
  <p>My goal is to run a script that will check each of those folders and return information on the date of newest file in each folder appended to the name of the user.</p>
  
  <p>The output would look something like this:</p>
  
  <pre><code>user1-2-17-12-1457
  user2-1-18-12-1312
  user3-2-6-12-0857
  </code></pre>
  
  <p>where 2-17-12-1457 represents date and time of newest file on \server\backup\user1</p>
  
  <p>This script will be run on a Windows 2008 SBS machine, so whatever tools available to me there will be available.  I run relatively basic batch files, but I'm open to whatever gets the job done.</p>
  
  <p>Thanks</p>