title: Findstr exporting data to text file
body: <p>I am trying to make a program that finds a name in a bunch of different text files, and then makes a list of the files it found that name in into another text file for a different program to pick up and run with. </p>
  
  <p>I have a bunch of <code>findstr</code> lines for each of the files I'm looking for the name in, and the results need to be able to handle finding the name in multiple different files.</p>
  
  <pre><code>findstr /l /m /i /g:"imput.txt" "info\data\ListOfNames1.txt" &gt;&gt;"results.txt"
  </code></pre>
  
  <p>The list of names increases by 1 on every line.</p>
  
  <p>I have <code>johnDoe</code> in the <code>imput.txt</code> and in <code>ListOfNames1.txt</code>, but <code>results.txt</code> is always blank.</p>
  
  <p>Thanks in advance!</p>