title: Get file information from multiple files listed inside a text file
body: <p>I have multiple file listed in <code>files.txt</code>, these files are located in different folders.  I need to get the files information, such as date modified and size, exported to a <code>.txt</code> or <code>.csv</code> file.</p>
  
  <p>Is there a command in Windows? or how can I put it in a batch file or powershell script?</p>
  
  <p><code>files.txt</code> content:</p>
  
  <pre><code>c:\windows\system32\file1.dll
  c:\windows\temp\file2.dll
  c:\program files\file3.exe
  and so on....
  </code></pre>
  
  <p><strong>Edit</strong></p>
  
  <p>I tried this in a batch file, but the output looks awful:</p>
  
  <pre><code>@echo off
  dir c:\windows\system32\file1.dll &gt;&gt;filelist.txt
  dir c:\windows\temp\file2.dll &gt;&gt;filelist.txt
  dir c:\program files\file3.exe &gt;&gt;filelist.txt
  </code></pre>