title: Find 2 values in file with command-line | CMD
body: <p>This code below allows me to find the word "error" in all my files using command-line (CMD).</p>
  
  <pre><code>find /c "error" C:\MyFiles\*.txt
  </code></pre>
  
  <p>But I want it to look for the word "<strong>error</strong>" and "<strong>warning</strong>" at the same time.</p>
  
  <p>So I want to put these 2 lines in as 1 line of command.</p>
  
  <pre><code>find /c "error" C:\MyFiles\*.txt
  find /c "warning" C:\MyFiles\*.txt
  </code></pre>
  
  <p>I do not want to see 2 result sets.</p>