Simple process for deleting all the contents in a folder that are too long for Windows or DOS to delete.
Create a new folder called "del" with nothing in the del folder..
Let's say the folder with all the data you want to delete is in e:\shares\public
Run this command:
robocopy e:\del e:\shares\public /mir
This process will mirror the contents of e:\del into the folder e:\shares\public