How to delete duplicate restored user files with "(2)" added (Win7)

Posted by user332172 on Super User See other posts from Super User or by user332172
Published on 2014-06-10T18:50:57Z Indexed on 2014/06/10 21:31 UTC
Read the original article Hit count: 161

Filed under:
|

How to delete duplicate restored user files with "(2)" added (Win7) I restored my user files on windows 7 system from the Win 7 backup. I selected the wrong restore option and all files were restored. Existing unchanged files were restored with the text string " (2)".

Is there a way to write a batchfile or script to do this operation?

Example file name: "01 lesson 1" "01 lesson 1 (2)"

I want to delete all files which had " (2)" appended on restore.

© Super User or respective owner

Related posts about file

Related posts about delete