Skip to content

While managing files via File Explorer, if you get 'The file name(s) would be too long for the destination folder' error in Windows 10, here is how to fix it.

Recently we came around a strange issue in Windows 10. In this scenario, whenever we tried to copy files from an external disc to Windows 10, the File Explorer keeps showing the following message:

The file name(s) would be too long for the destination folder. You can shorten the file name and try again, or try a location that has a shorted path.

FIX: The File Name(s) Would Be Too Long For The Destination Folder Error In Windows 10

Next, we tried to shorten the file name for few files and tried moving them again, but it failed too. Actually, this is due to default behavior of Windows, which won’t allow you to have more than 260 characters in file name(s). Whenever you try to bypass this limit, above mentioned message is likely to appear.

So in case if you’re also the victim of this problem, here is a simple registry tweak that you can perform to overcome this.

FIX: ‘The File Name(s) Would Be Too Long For The Destination Folder’ Error In Windows 10

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In left pane of Registry Editor window, navigate to following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

FIX: The File Name(s) Would Be Too Long For The Destination Folder Error In Windows 10

3. In the right pane of FileSystem registry key, look for the registry DWORD (REG_DWORD) named LongPathsEnabled. By default, this DWORD Data is set to 0, which is the cause for this issue. Double click on the same DWORD and modify its Value data:

FIX: The File Name(s) Would Be Too Long For The Destination Folder Error In Windows 10

4. Finally, set the Value data to 1 and click OK. Close the Registry Editor now and reboot the machine to make changes effective.

After restarting your system, the issue would no longer persist.

Hope this helps!


Facebook Google+ Twitter

4 Comments

  • Hi
    I am Peter Brock

    You should try out Long Path Tool program. It fixes this problem

  • Kapil Arya

    ^^ Glad to hear that!

  • I’m using Win 8.1. The longpathsenabled file is missing from my registry. What should I do?

  • Kapil Arya

    ^^ You can create it manually and set it to 1.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Recent Comments

    • Mastah Yakamuto : Try to Disable Superfetch & Windows Search in services....

      6 hours ago

    • Kapil Arya : ^^ Which step you're referring to? You can take ownership of the regis...

      21 hours ago

    • Andrew Mason : Hi Kapil, Thanks for the post on fixing the error. I have the same err...

      1 day ago

    • rizal : thx sir, FIX 2 work easly:)...

      3 days ago