When importing a project into eclipse, it somehow started creating recursive versions of the directory.
Now, when I try to delete anything, I get the message " the file name you specify is too long."
I can't delete it from the command shell. I can't delete it from explorer. I can't do ANYTHING with it. I have no idea how many copies of it Eclipse created. Eclipse was running for like a minute before I realized something was wrong and I cancelled the operation.
I can get the properties of the top level folder, and it says it contains 497 folders.
Question 1: how can I delete all this stuff in Windows?
Question 2: What the hell was eclipse thinking?
static void cleanDir(File dir) { for (File f:dir.listFiles()){ if (f.isDirectory()){ cleanDir(f); } f.delete(); } }
... which reminds an ant task might do as well?