title: Windows Shell Command to Show File Name and Last Access Time
body: <p>I am trying to write a Windows command to list files and their last access times, sorted by access time. </p>
  
  <p>I have used</p>
  
  <pre><code>dir [directory] /O:D /T:A /S /B &gt; output.txt
  </code></pre>
  
  <p>This outputs the files in directory and sub directories in order by their last access time; however I also need it to output the last access time as well. How is this accomplished?</p>