I have a folder on my desktop which contains five sub folders, each of these sub folders holds about 1000 Pdf files. All of which have a 6 digit name (e.g 567788.pdf).
I would like to copy all the files to another folder and if they have the same name, instead of overwriting the file, I would like it to add something to the name if it is a duplicate.
e.g 567788.pdf -> 567788 (1).pdf
Could this be done using a batch file?
For examlpe, try this:
Duplicate filenames will receive suffixes (1), (2) etc.