title: Script that outputs all DLLs used by exe
body: <p>In cmd the line</p>
  
  <pre><code>tasklist /m /fi "imagename eq xxxxx.exe" &gt; output.txt
  </code></pre>
  
  <p>will output the DLLs used by all processes to one file.</p>
  
  <p>How can I separate the output to multiple txt files, each file contains the name of the process the the DLL used?</p>