4

My flex builder somehow decided to create infinite folders within folders and crashed itself. Now windows cannot delete the folder, saying the file name is too long. Even Unlocker can't delete it.

The folders are created like this:

projectname-debug -> projectname-debug -> projectname-debug -> ..........
gAMBOOKa
  • 361

4 Answers4

10

Boot up some linux live distribution and delete it from there.

Egon
  • 2,913
3

You might try using the SUBST to map a long path to a new drive letter. That may get the path down short enough for you to delete some of the lower directories first.

RedFilter
  • 506
  • 1
    Nice! That works great. In fact, it gave me the idea of renaming the parent directory/directories to shorter names which also works. – Bobson Nov 21 '11 at 02:56
1

Try the command line:

rmdir /s /q "C:\path\to\folder"
0

I've had a similar issue due to a screwed up subversion checkout. What I found worked was going in as deep as you can and the move the contents out. You should then be able to delete the outer part. Repeat the process with the stuff you moved out. Worked for me, but it might not be exactly the same situation.

  • 1
    Windows will stop traversing inside the folders after a while. I used rm /s and it removed all the contents inside the folders, but the folders itself won't go away. – gAMBOOKa Feb 01 '10 at 17:53