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\d1\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?
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