title: How to pass multiple values in a single variable using batch file
body: <p>I want to pass multiple values in a variable. Here's my code</p>
  
  <pre><code>@echo off
  setlocal EnableDelayedExpansion
  set LF=^
  
  
  set "content="
  
  for /f "delims=" %%x in (file.txt) do (
    set "content=!content!%%x!LF!" 
    Type paul.txt  | findstr /I /V /C:"!content!" &gt; edit.txt
  )
  
  echo(!content!
  
  PAUSE
  
  endlocal
  </code></pre>
  
  <p>Basically, this code opens the file file.txt and the contents of this file were used and pass to variable "content". </p>
  
  <p>Example:</p>
  
  <p>file.txt contains the ff:</p>
  
  <pre><code>A
  B
  </code></pre>
  
  <p>So, all lines starting A or B on file paul.txt will be removed but no lines were removed. What's wrong with this code?</p>