Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

(E:\Backups\john\Users\john\AppData\Local\Google\Chrome\USERDA~1\Default\PLUGIN~1\GOOGLE~1\MAILGO~1.COM\HTTPS_~1\GOOGLE~1\41\67\34\0\69\24\78\58\62\64\5\45\81\27\61\91\95\42\27\36\91\4\2\53\92\82\21\16\18\95\47\26\71\38\69\12\67\99\35\94)

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, David Pearce, 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.

3 Answers 3

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
1  
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.