title: Breaking FINDSTR Command into Multiple Lines in a Batch File
body: <p>My FINDSTR command is very lengthy and I want to break it into multiple lines in my batch file. Here is the command:</p>
  
  <pre><code>type file.txt | findstr /v "string1" | findstr /v "string2" | findstr /v "string3" | findstr /v "string4" &gt; newfile.txt
  </code></pre>
  
  <p>Is this possible? Ideally, I'd like each sequence (divided by the pipe characters) to be on its own line.
  Thanks in advance!</p>