title: write results into a text file
body: <p>I created a batch that will use windows FINDSTR to search for my selective input.</p>
  
  <p>I am trying to log my results of my search term in a text file called results.txt</p>
  
  <p>So I do have something like this so results are kept not overwritten:</p>
  
  <pre><code>&gt;&gt;Results.txt 
  </code></pre>
  
  <p>I've created the txt file so it'll write to it, this is what I tried and won't work:</p>
  
  <pre><code>findstr "\&lt;%X%\&gt;" *.txt  
  echo &gt;&gt;results.txt
  </code></pre>
  
  <p>That is what I have for trying to log my results of my search term, however nothing happens.</p>
  
  <p>And when I have findstr "\&lt;%X%>" *.txt  >>results.txt </p>
  
  <p>It tries to search for <code>&gt;&gt;results.txt</code> and it's not cooperating.</p>
  
  <p>Anyone know what to do?</p>
  
  <p>I'm doing this because FINDSTR will work in the cmd prompt but if I get too many results it cuts off the top, so I want it to write all the results into the results.txt so I can view the whole results with nothing cut off.</p>
  
  <p>Thanks for the help =)</p>