I have my batch file which consists of the following command.
REN "H:\April2012\A04\mr_sudheendra_holla_vaderhobli.pdf.1335780379203.ver1" "mr_sudheendra_holla_vaderhobli.pdf"
But if duplicate files exist, the command will not execute. I would like my command to rename the file name to *(1).pdf
and *(2).pdf
etc. if there are duplicates. How can I do that?
No comments:
Post a Comment