title: How to use findstr to remove lines from a file that match strings found in a list file?
body: <p>I am trying to use findstr to delete lines that match the search strings found on another file. This is what I have been trying to use but it does not seem to work.</p>
  
  <pre><code>dir %ProjectDir%TypeScript\*.ts /b /s &gt; Files.txt
  findstr /v /i /g:%ProjectDir%TypeScript\strictFiles.txt Files.txt &gt; tsFiles.txt
  </code></pre>
  
  <p><strong>Edit</strong> This also does not seem to work:</p>
  
  <pre><code>dir %ProjectDir%TypeScript\*.ts /b /s | findstr /v /i /g:%ProjectDir%TypeScript\strictFiles.txt &gt; tsFiles.txt
  </code></pre>