title: Windows: findstr - how to print 3 lines before and after matched lines?
body: <p>In Windows 7, If I want to find some text in a file, I use the following command.</p>
  
  <pre><code>findstr "find_this" trace.log
  </code></pre>
  
  <p>this prints all lines that contains text "find_this". OK.
  But I need to print also 3 lines before and 3 line after mached lines.
  How I can do this by command <strong>findstr</strong>?</p>
  
  <p>On Unix I can do this by "grep"</p>
  
  <pre><code> grep -B 3 -A 3 find_this trace.log
  </code></pre>
  
  <p>But how I can do this on Windows?</p>