Collecting...
- http://www.codeproject.com/Articles/28512/Duplicate-Files-Finder
- http://stackoverflow.com/questions/2558873/good-way-to-find-duplicate-files
- http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_28159098.html
- http://www.sentex.net/~mwandel/finddupe/
- http://www.codeproject.com/Articles/28316/Duplicate-File-Finder
- http://www.codeproject.com/Tips/391232/Find-Duplicate-Files-and-Delete-Them
- http://www.vbtutor.net/index.php/visual-basic-2015-tutorial/
Imports System.Collections.Generic
Imports System.IO
...
Dim files As New HashSet(Of String)(1000000)
For Each filepath As String In Directory.GetFiles("C:\")
If Not files.Add(Path.GetFileName(filepath)) Then ' Add returns True if the entry does not exist in the HashSet; False if it already does
' duplicate file name
End If
Next
Comments
Post a Comment