title: Iterate over a tree of folders and sub folders and find a specific file by name
body: <p>I am new to batch scripting. Basically I want to iterate over a tree of folders and sub folders and find a specific file by name.
  Until now I have this :</p>
  
  <pre><code>@echo off
  SETLOCAL
  for /F %%i in ('dir C:\Projects /s /b') do (
  
      Set originalFileName = %%~ni
      echo %originalFileName%
      )
  pause
  </code></pre>
  
  <p>basically now I want to compare with a string and copy that file to another folder.</p>