title: Read lines with blank spaces from a file using batch
body: <p>I'm trying to read each line from a text file using batch. </p>
  
  <p>The lines inside the file has <strong>some blank spaces</strong>, so this is an example of the input:</p>
  
  <pre><code>This is the first line
  This is the second line
  ...
  </code></pre>
  
  <p>I'm using the following source code</p>
  
  <pre><code>FOR /f %%a in ("%1") do (
      @echo %%a
  )
  goto:eof
  </code></pre>
  
  <p>The output is the follwing:</p>
  
  <pre><code>This
  This
  ...
  </code></pre>
  
  <p>I have read the following entry in Stack Overflow but is doesn't solve my issue.
  <a href="https://stackoverflow.com/questions/4389923/batch-read-lines-from-a-file-having-spaces-in-its-path">Batch : read lines from a file having spaces in its path</a></p>