title: pull text from .txt file Batch
body: <p>I need help with a batch file.</p>
  
  <p>I have a .log file in which i search for a specific string but now i have trouble in my next step, i need search other string and then get a string between "" to use it in batch I'm not sure if this is posible. </p>
  
  <p>Example:</p>
  
  <pre><code>set findtext="text2find"
  set findfile="text.log"
  
  findstr %findtext% %findfile%
  
  if %errorlevel% == 0 (
  findstr "Creating Environment " %findfile%
   if %errorlevel% == 0 (
   set Environment=[Text from log file]
   )
  )
  </code></pre>
  
  <p>The log file contains a line:
  Creating Environment "EnvironmentName"</p>
  
  <p>EnvironmentName is the string that I need to use in batch file.</p>
  
  <p>This is possible? </p>
  
  <p>In advance thanks for your time. </p>