title: Renaming multiple files from subdirectories using CMD for EX: 123_abc.pdf file to 123_abc_DOC.pdf
body: <p>I tried with the below command but is cuts some part of file n replace the _TEST.pdf with it</p>
  
  <pre><code>FOR /R %f IN (*.pdf) DO REN "%f" *_TEST.pdf
  </code></pre>
  
  <p>EX:<br>
  Orgininal file name is <code>TEST_123.pdf</code></p>
  
  <p>Renamed file name is <code>TEST_TEST.pdf</code></p>
  
  <p>Expected result is <code>TEST_123_TEST.pdf</code></p>