title: Why does FINDSTR not find the searched string with space in my batch file?
body: <p>So I am running a <strong>FINDSTR</strong> command to search a file for the text <code>[errorCode: 0]</code> and using the option <code>/v</code> to output the lines which do not contain this string. This is the used code:</p>
  <pre><code>@findstr /i /v &quot;\[errorCode: 0\]&quot; file1.log &gt;&gt;file2.txt
  </code></pre>
  <p>But this puts all the contents of <code>file1.log</code> to <code>file2.txt</code>.</p>
  <p>What am I doing wrong?</p>