The source file name(s) are larger than is supported by the file system...

Anonymous
2010-03-31T00:50:57+00:00

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

There are about 10 subfolders on the computer. None can be deleted, moved or renamed without that message appearing. I've already tried UNLOCKER ASSISTANT & DELINVFILE to get rid of this folder. Once again, none worked. Command prompt did not work as well. Please help me, this folder will not go away on my desktop.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2010-03-31T12:48:05+00:00

First try deleting them by bypassing the Recycle Bin by using SHIFT-DEL(thanks, Michael Murphy) instead of just DEL.

Try using one of the following free products to delete the file/folder.  Unlocker at: http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml or File Assassin http://www.malwarebytes.org/fileassassin.php (with or without Force Delete and you may need Force Delete in this instance: http://www.mydigitallife.info/2008/12/27/force-delete-cannot-delete-locked-or-in-used-files-or-folders-with-fileassassin/). These programs often work when normal Vista delete functions fail to operate properly.  You may have already tried Unlocker (I don't know if it's the same as Unlocker Assistant) but if this one if different, give it a try.

Here's an article on this topic (related to a different subject, but essentially the same problem) with a number of suggestions - one of which may work for you: http://www.howtogeek.com/forum/topic/how-to-delete-source-file-names-are-larger-than-is-.

I hope one of these options helps.  If not, post back and we'll see if we can find another answer.

Good luck!


Lorien - MCSE/MCSA/Network+/A+ --- If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2010-06-04T20:15:54+00:00

Hi everyone,

I tried all of the above and none of them fixed my issues, however I found out make a drive mapping about halfway into the folder structure you should be able to delete the latter half of the file heirarcy.

For example if you are getting the error trying to delete:

\\NAS.Device.Company.com\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z

Then map a network drive Z: to

\\NAS.Device.Company.com\a\b\c\d\e\f\g\h\i\j\k\

This will reduce the file herarch down to a smaller path.  Open explorer and view the Z: drive.  It should contain a folder called L (in this example).

You should now be able to delete the L and its subfolders without an issue, thereby deleting half the folder hierarchy.  After that, disconnect the z: drive and try to delete whatever is left normally.  Problem solved!

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

69 additional answers

Sort by: Oldest
  1. Anonymous
    2013-04-06T05:12:21+00:00

    Worked like a charm. Thanks a lot :)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-04-24T21:33:43+00:00

    Hi everyone,

    I tried all of the above and none of them fixed my issues, however I found out make a drive mapping about halfway into the folder structure you should be able to delete the latter half of the file heirarcy.

    For example if you are getting the error trying to delete:

    \\NAS.Device.Company.com\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z

    Then map a network drive Z: to

    \\NAS.Device.Company.com\a\b\c\d\e\f\g\h\i\j\k\

    This will reduce the file herarch down to a smaller path.  Open explorer and view the Z: drive.  It should contain a folder called L (in this example).

    You should now be able to delete the L and its subfolders without an issue, thereby deleting half the folder hierarchy.  After that, disconnect the z: drive and try to delete whatever is left normally.  Problem solved!

     

    Used a similar method.  Did not have to map any drives.  Just go to the lowermost folder, ...\z in your case.  Then Share that folder (on the Network) with read/write permission (which should be default if you are admin).  Then open File Explorer and click on the Network.  Go under your computer and you should see the folder.  Select the folder and Shift-Delete it so it doesn't try to stick it in the Recycle Bin.

    BTW, using W8 Pro 64-bit in my case!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-04-24T21:41:48+00:00

    You just need to turn of legal filename checks by prepending

    \.\

    to the filename.

    EG

    del \.\c:\Verylongfolder\verylongfilename.ext

    The Windows rules  are a maximun length of 260 characters. This is enforced because programs only allocate 260 characters (520 bytes) to hold the filename and you would get a buffer overrun if the name is longer.

    However the underlying system supports names up to 32,000 characters.

    Was this answer helpful?

    0 comments No comments