title: Batch: Write String from .txt between double quotes to .txt
body: <p>I am about to write a batch-file to get lines from a textfile and write only the content between two "" (double quotes) to another textfile.</p>
  
  <p>e.q. fileinput:</p>
  
  <pre><code>    WRITE    1,48,1,"1&gt; MODUL 2 TYPENKONTROLLE "
      WRITE    1,56,1,"2&gt; MODUL 6 PRAEGETIEFE    "
      Some other text...
      WRITE    1,64,1,"__________________________"
  </code></pre>
  
  <p>fileoutput:</p>
  
  <pre><code>    "1&gt; MODUL 2 TYPECONTROLE   "
      "2&gt; MODUL 6 PRAEGETIEFE    "
      "__________________________"
  </code></pre>
  
  <p>my not working batch:</p>
  
  <pre><code>@echo File:
  set /p file=
  FOR /F delims^=^" %%i in ('findstr -i -r -c:"[\"]^" %file%.txt') do (
  echo %%i &gt;&gt; %file%strings.txt 
  )
  </code></pre>
  
  <p>I think i need something like this:</p>
  
  <pre><code>@echo File:
  set /p file=
  FOR /F delims^=^" tokens^=1,2 %%i in ('findstr -i -r -c:"[\"]^" %file%.txt') do (    
  echo %%i not needed!
  echo %%j &gt;&gt; %file%strings.txt 
  )
  </code></pre>
  
  <p>Can someone help me with my problem?</p>