title: Combine two text files with powershell
body: <p>I have two text files with data.</p>
  
  <p>First text file contains a big list of fullpaths to my files.
  d:\cat\cat1.txt</p>
  
  <pre><code>d:\test\file1-1.txt
  d:\test\file1-2.txt
  ....
  d:\test\file1-N.txt
  </code></pre>
  
  <p>Second text file contains a short list of fullpath to my \files</p>
  
  <p>d:\cat\file\cat2.txt</p>
  
  <pre><code>d:\test\file2-1.txt
  d:\test\file2-2.txt
  </code></pre>
  
  <p>I need third file which contains</p>
  
  <pre><code>d:\test\file1-1.txt
  d:\test\file1-2.txt
  d:\test\file2-1.txt
  d:\test\file1-3.txt
  d:\test\file1-4.txt
  d:\test\file2-2.txt
  d:\test\file1-5.txt
  d:\test\file1-6.txt
  d:\test\file2-1.txt
  </code></pre>
  
  <p>Thx for help.</p>