title: DOS DIR - exclude files that start with string
body: <p>I'm trying to get a list of files from a directory in DOS and I would like to exclude any files that START with "I_"</p>
  
  <p>I can get it to exclude anything with I_ but that excludes it if it doesn't start with it. Here's my script ></p>
  
  <pre><code>dir /s /b c:\TEST | findstr /vi "\c:\TEST\I_." &gt; c:\TEST\List.txt
  </code></pre>
  
  <p>Anyway to get "I_" to be excluded ONLY when it's the start of the word (ie I_TEST)?</p>