title: How to use findstr, exclude svn directory in gvim
body: <p>I want to find out all the files which contain a keyword in a directory and all the subdirectories, and there are some <code>.svn</code> directories, I should ingore these directories.</p>
  
  <p>In Linux system, I can do it easily by:</p>
  
  <pre><code>  grep -r keyword ./ --exclude-dir ".svn"
  </code></pre>
  
  <p>But when I turn to windows, <code>findstr</code> is a substitute for <code>grep</code> in windows, I try to do it like this:</p>
  
  <pre><code>  findstr /s keyword ./*
  </code></pre>
  
  <p>The result will return with the <code>.svn</code> directories, which is not what I want.</p>
  
  <p>I read the <a href="http://technet.microsoft.com/en-us/library/bb490907.aspx" rel="nofollow">TN Findstr, on microsoft website</a></p>
  
  <pre><code>  /v   : Prints only lines that do not contain a match.
  </code></pre>
  
  <p>But when I try it like below, It still doesn't work.</p>
  
  <pre><code> findstr /s keyword /v ".svn" ./*
  </code></pre>
  
  <p>I think there may be some problem with my usage of <code>findstr</code>. Any help would be great, thanks in advance.</p>
  
  <pre><code>        ***************************** update1 *****************************
  </code></pre>
  
  <p>In fact, I am trying to use <code>grep</code> in <code>GVim</code>, it will call 'findstr`.</p>