title: Mass rename of file extensions recursively (windows batch)
body: <p>I have numerous files in a very complex directory structure, and for reasons not worth discussing I need to rename all files with the extension of ".inp" to have ".TXT" extensions. There are numerous other files with other extensions that I do not want to be touched, and I want to do it recursively down at least 5 levels.</p>
  
  <p>So far I have:</p>
  
  <pre><code>for /d %%x in (*) do pushd %%x &amp; Ren *.inp *.TXT &amp; popd
  </code></pre>
  
  <p>...but this only goes down one level of directories.</p>
  
  <p>Can anyone help? Thanks in advance!</p>