Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I can`t delete a folder because it has LOTS of folders inside it. Believe me, it is really lots.


The path is even longer...

I have tried several ways for deleting it: "Unlocker Tool", "rd /s" in Command Prompt, "subst x: e:\backups\john" in Command Prompt, no one was effective.

It's IMPOSSIBLE to rename/move files.

I don't want to break up anything, so please think through your answer.

How can I get rid of it?

share|improve this question

marked as duplicate by oKtosiTe, Dave, Josh Hunt, Tog, CharlieRB Mar 26 '13 at 18:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

Try the rm utility in my Hamilton C shell. I wrote it using the new long Unicode filename format interally, so if the problem is just that the name is too long, this should get it. It sounds like this is a one-time thing, so the free demo version is all you need. If you don't want it afterward, it uninstalls cleanly in seconds.

If you try it and it doesn't work, please tell me as I'd like to fix it so it will.

share|improve this answer
Oh Nicole...I hope so...I'll try it and get back to you as soon as possible. – Darkeden Jan 10 '13 at 0:33
I have just tried your software. Following is the command tried and the answer given: -- 9 C% rm -rf E:\Backups\john hrm: Couldn't remove directory 'E:\Backups\john\Users\john'. – Darkeden Jan 10 '13 at 0:40
I was doing many attempts with many softwares and tricks and I just realized that the inconvenient folder wasn't there anymore. I can't tell if your software or another trick did the job. Anyway I'm voting your answer as effective. I appreciate your attention and I was really amazed when I first saw that you develop your own softwares. Thank you. Keep yourself on your good way and your job. Have a blessed 2013! – Darkeden Jan 10 '13 at 0:53
I'm glad your problem was solved. It'd be nicer if I could be sure I could take credit. If you have occasion to use my C shell again and one of the utilities complains, type help immediately afterward and it'll tell you the status code and reason. The most common reasons rm might fail would be an ACL that denies you access or that it's in use by another process. – Nicole Hamilton Jan 10 '13 at 0:57
Sure. I really appreciate your attention and I believe you can take the credits...unless the "subst x: e:\backups\john" (in Command Prompt) had did the trick, then your software did. I'm not sure because I was quite disappointed of doing searches and tests and not getting my problem solved. Anyway everything points to your solution. - Thank you! – Darkeden Jan 10 '13 at 1:11

I know this will sound cumbersome, but I have had success with this process.

  • Boot to Safe Mode
  • Attempt to delete the item while in Safe Mode.
  • If this FAILS, stay in Safe Mode and drop to a command prompt
  • Change directories all the way to the end of the path in question.
  • Do a DIR /A:H to show in hidden files
  • using the command prompt, delete all files in this directory
  • Move up one level in the directory structure, repeat the DIR /A:H and deletion process
  • Keep moving up until the total path name is less than 254 characters in length. Then you should be able to delete everything from a point higher up in the folder hierarchy.
share|improve this answer
Thank you for your attention Chris, but I could get rid off this issue already. Nicole Hamilton's sfotware did the trick for me. Since it's solved I won't be able to say if your process would work or not. All I can tell is that I have tried really several ways for deleting it. I have even tried to delete into Safe Mode, not exactly on your way, but closer. As you can see in my question, the path is extremely long, so it was hard and boring to access a folder with any files. That's it. Thank you! – Darkeden Jan 10 '13 at 1:15

Split the folder, but copy it to drive C or something else, not to the other folder.

Then you can delete it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.