How do I remove all the lines in a text file that are present in another text file in Windows?
<p>I have two files: <code>content.txt</code> and <code>remove.txt</code>. I would like to run <code>.cmd</code> script that removes all lines from <code>content.txt</code> that are in <code>remove.txt</code>. The result should go to <code>result.txt</code>. </p>

<p>For example: </p>

<p><code>content.txt</code></p>

<pre><code>abc
1234
hello
qwerty
</code></pre>

<p><code>remove.txt</code></p>

<pre><code>abc
hello
def
</code></pre>

<p><code>result.txt</code></p>

<pre><code>1234
qwerty
</code></pre>

<p>This question is the same but using Perl: <a href="https://stackoverflow.com/questions/18239225/removing-lines-in-one-file-that-are-present-in-another-file">Removing lines in one file that are present in another file</a>. I can only use standard Windows tools. </p>