title: How to search for the certain filename in all subfolders within for loop
body: <p>I have the following script that renames files in the directory according to the list in file opac_one-hit.log</p>
  
  <pre><code>@ECHO OFF
      SETLOCAL enabledelayedexpansion
      FOR /F "tokens=1,3 delims=;" %%G IN ( opac_one-hit.log) DO (
      ren %%G %%H
      )
      pause
  </code></pre>
  
  <p>In order to start my script should be located in the same directory where opac_one-hit.log is located. How to build search function in my for loop in order to find the opac_one-hit.log in subfolders and not to copy the script to that subfolder every time.</p>