My FINDSTR command is very lengthy and I want to break it into multiple lines in my batch file. Here is the command:
type file.txt | findstr /v "string1" | findstr /v "string2" | findstr /v "string3" | findstr /v "string4" > newfile.txt
Is this possible? Ideally, I'd like each sequence (divided by the pipe characters) to be on its own line. Thanks in advance!