title: skip on specific folder in FOR loop
body: <p>I wrote a batch script that receive a string input and search files with the same string. this loop searching for the file name in the computer, but how do i make it skip on a specific folder so it won't search in there?</p>
  
  <pre><code>for %%a in (C D E F G H U W) do (
      for /f "tokens=*" %%b in ('dir /s /b "%%a:\%filename%"') do (
      ---
      ---
      )
  )
  </code></pre>