title: Read words separated by space in a batch script
body: <p>I need to read the content of a text file word by word, in a batch script. The words are space separated. I tried this but it doesn't work, it only takes the first word:</p>
  
  <pre><code>for /f "delims= " %%i in (%OUTPUT_FILE%) do echo %%i
  </code></pre>
  
  <p>I also tried this but doesn't work also:</p>
  
  <pre><code>for /f "tokens=* delims= " %%i in (%OUTPUT_FILE%) do echo %%i
  </code></pre>