All Forums >> [Scripting] >> WSH & Client Side VBScript >> deleting duplicat files in a directory Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
This is my first post, I have been trying to figure this out for a bit with no success. Any help would be greatly appreciated.Thanks I have a directory, C:/U2 that contains files with the extensions ".txt" and ".parse". The files in this directory can have duplicate names except for the extension. example: "primary 58787.txt" "primary 58787.txt.parse" I need to loop through the list of files to find duplicates and delete the ones with the .txt only. ( "primary 58787.txt" in this example)