Try something like...
1: 2: 3: 4: 5:
For Each f As IO.FileInfo In FileArray If f.Name.StartsWith("thumb") Then f.Delete() End If Next