Remove Directories in Windows OS

gk123987's Avatar
Go4Expert Member
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?
gk123987's Avatar
Go4Expert Member
Note : Scanned for virus and it is not.
nimesh's Avatar, Join Date: Apr 2009
Invasive contributor
you want to delete the folders as well as files in it?

Check this if it helps you.