title: get multiple strings from .txt then output toghether
body: <p>I have a test.txt with this text:</p>
  <pre><code>&lt;game&gt;16t (Japan)&lt;/game&gt;
  &lt;manufacturer&gt;Sega&lt;/manufacturer&gt;
  &lt;game&gt;3 Ninjas Kick Back&lt;/game&gt;
  &lt;manufacturer&gt;Malibu&lt;/manufacturer&gt;
  </code></pre>
  <p>I'm trying to write a batch file that will output extracted strings to another .txt with the following pattern:</p>
  <pre><code>game: 16t (Japan)
  developer: Sega
  
  game: 3 Ninjas Kick Back
  developer: Malibu
  </code></pre>
  <p>My code:</p>
  <pre><code>@echo off
  for /F &quot;tokens=2 delims=&gt;&quot; %%a in ('findstr &quot;&lt;game&gt;&quot; test.txt') do echo game: %%a &gt;&gt; &quot;%~dp0/output.txt&quot;
  for /F &quot;tokens=2 delims=&gt;&quot; %%b in ('findstr &quot;&lt;manufacturer&gt;&quot; test.txt') do echo developer: %%b &gt;&gt; &quot;%~dp0/output.txt&quot;
  </code></pre>
  <p>But my generated output.txt comes out like this:</p>
  <pre><code>game: 16t (Japan) 
  game: 3 Ninjas Kick Back 
  developer: Sega
  developer: Malibu 
  </code></pre>
  <p>How can I achieve the intended output pattern?</p>