tncode
asked on
I need a .BAT or .VBS file to delete duplicate file names.
I have two folders on two drives (c:\folder1 and d:\folder2 for example each with several sub directories). I want check the file names in folder1, in any sub directory, and if the same file exists in folder2, in any directory, then delete the file in folder2. I don't care about comparing CRC, I just need to compare file names. I prefer to use two variables for the folder1 and folder2 because these folders will change from time to time. I need to write this in a .BAT or .VBS file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Great, glad that was helpful, thanks for the feedback.
»bp
»bp
ASKER