title: CMD: extract variable string from .txt file
body: <p>I have myfile.txt containing this:</p>
  <pre><code>line 1: keyword=string
  line 2
  line 3
  </code></pre>
  <p>I need to <code>echo</code> that <strong>variable</strong> <code>string</code> via <em>constant</em> <code>keyword</code>.</p>
  <p>And this string I need is always in the end of the 1st line.</p>
  <p>So far I have:</p>
  <pre><code>for /f &quot;usebackq tokens=*&quot; %%a in (&quot;myfile.txt&quot;) do (
  for /f &quot;usebackq tokens=*&quot; %%b in ('findstr /i &quot;keyword=&quot; %%a') do (
  echo %%b &amp; goto 108
  )
  )
  
  :108
  </code></pre>
  <p>But I guess that <code>findstr</code> syntax is completely wrong.</p>
  <p>Please, help.</p>