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,
Eg:
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
1/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/dtc1798_system/d/d/dtc1798_system/dtc1798_syst
em/dtc1798_system/dtc1798_system/dtc1798_system/dtc1798_system/dtc1798_system/dt
c1798_system': File name too long


How can this be deleted?
0
gk123987's Avatar
Go4Expert Member
Note : Scanned for virus and it is not.
0
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.

http://www.jonasjohn.de/lab/red.htm