title: How can I get files older than a specified date?
body: <p>I apologize if this question was already asked but I can't seem to find exactly what I am looking for. I want to be able to find files in XP (using cmd) that are older than a specific date.  I want to do something like DIR/FIND files that are older than 30 days.</p>
  
  <p>The following does not work but hopefully it will give you an idea of what I am trying to do.</p>
  
  <pre><code>FOR /f %%f IN ('DIR /b /t -30 I:\FOLDER1\*.pdf') DO move /Y Z:\FOLDER1\%%f "I:\FOLDER2\"
  </code></pre>
  
  <p>Thanks!</p>