I have installed an Eclipse based tool, that has created multiple folders with in a single folder,
C:\projects\cas\build\d1\d1\d1\d1\d1\d1\d1\d1\d1\d 1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\d1\ d1\d1\d1\d1\d1\d1....
and so on.

I wanted to delete the files. But i could not.
I tried using the following in cygwin.
$rm -r d1/ from the build directory.

rm: cannot remove `d1/d1/d3/d2/d2/d/d1/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d
c1798_system': File name too long

How can this be deleted?