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

Due to a very strange issue with Eclipse ive ended up with a folder in a folder that seems to goes on forever. So on my C drive I have

C:\foldername\foldername\foldername\foldername\foldername etc.

When I try and delete (or shift delete) the folder I get the message: 'The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name, or try renaming to shorter name(s) before attempting this operation.'

How can I get rid of it?

share|improve this question
may be this helps:… – Kola May 1 '13 at 8:58
That's a pretty good comment @legendinmaking , maybe you should add it as an Answer and get some rep ;) – Andrew Lott May 1 '13 at 12:59
Have you tried chkdsk/f? – kinokijuf May 3 '15 at 20:29
up vote 1 down vote accepted

I found this solution depicting exactly your problem :

There is this simple program called Deep-remove which is developed in c#.NET 4.0.

share|improve this answer

Filesystem should not allow to create files longer than allowed. There may be some limitations in ntfs Windows support, so boot any live Ubuntu from usb/cd/dvd and try to delete this way (using only ntfs filesystem mounted in different OS).

share|improve this answer

What you need to do is use the Microsoft tool robocopy.exe.

  1. Create a new empty folder, e.g. c:\empty
  2. Then copy that empty folder onto the folder which contains the long filenames which you're trying to delete, e.g. c:\myannoyingfolder. Do this like so in the command prompt:

    robocopy /MIR c:\empty c:\myannoyingfolder

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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