Windows: How to delete files with a too long name?
See http://www.ratsauce.co.uk/notablog/LongFilenames.asp
JR
PS for a folder use:
rd /S \\?\C:\VeryLongFolderName
Try using a wildcard "*" after the first few characters of the name. Make sure you have enough differentiation so as not to delete what you don't want to.