title: how do i loop through a directory and rename certain kind of files?
body: <p>I have the following command to move files, but I want to rename some files through the same directory with filename like <strong>*.csv.csv</strong>  how to write the code?</p>
  
  <pre><code>FOR /R "C:\Share\PRC Interface" %%G IN (*_IP_*.csv) DO move "%%G" C:\ERP_Interface\PRCERP\IP
  </code></pre>