title: Rename files using cmd and allow duplicates file name
body: <p>I have my batch file which consists of the following command. </p>
  
  <pre><code>REN "H:\April2012\A04\mr_sudheendra_holla_vaderhobli.pdf.1335780379203.ver1" "mr_sudheendra_holla_vaderhobli.pdf"
  </code></pre>
  
  <p>But if duplicate files exist, the command will not execute. I would like my command to rename the file name to <code>*(1).pdf</code> and <code>*(2).pdf</code> etc. if there are duplicates. How can I do that?</p>