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 -> ..........
1
  • Have you tried deleting it while running Windows in Safe Mode?
    – Ivo Flipse
    Feb 1, 2010 at 18:26

4 Answers 4

10

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

7
  • 11
    Then stay in linux.
    – Josh K
    Feb 1, 2010 at 18:48
  • And what if he's programming in Visual Studio?
    – Ivo Flipse
    Feb 1, 2010 at 18:49
  • 2
    I never said it was practical. ;)
    – Josh K
    Feb 1, 2010 at 18:57
  • @Ivo: then use WINE... Feb 1, 2010 at 21:57
  • @Ivo: I'm using Flex Builder 3, an Eclipse plugin @Josh: Bingo... did just that. I happened to have Ubuntu installed. Cheers mate!
    – gAMBOOKa
    Feb 2, 2010 at 0:13
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.

1
  • 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, 2011 at 2: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
  • 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 1, 2010 at 17:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .