Using Windows PowerShell
Start Windows PowerShell. You’ll find it in Start Menu.
Navigate to the folder which you believe to have the files which have the same pattern of name. To so, type Set-Location ‘folder address‘, (where folder addressis the address of the folder to which you’d like to navigate,) and press
ENTER key.
For example:
Set-Location ‘C:\Documents and Settings\test\My Documents’

(Optional) Get a list of all the files which have the same name pattern. This will give you a chance to verify what is deleted before actually deleting them. To do so, type: Get-ChildItem -include filename.ext -recurse -force (where filename.extis the name of the files which you’d like to find; wildcards are also acceptable.)
For example:
Get-ChildItem -include thumbs.db -recurse -force

Delete those files. Type Get-ChildItem -include filename.ext -recurse -force | Remove-Item -force (where filename.extis the name of the files which you’d like to delete; wildcards are also acceptable.)
For example:
Get-ChildItem -include thumbs.db -recurse -force | Remove-Item -force