Рет қаралды 658
Here's how you can use a batch file to quickly find and delete all duplicate files in a folder. This can quickly clean up a folder on your PC if you've accidently copied the same files to it twice, for example.
The script simply looks for all files that end in ' - Copy' or a bracketed number like ' (2)', and deletes all files that do. Make sure that this is what you need before you run the script, as it deletes the files and skips the recycle bin.
You can find the full code in the pinned comment below.
#batch #batchfile