Destination Path Too Long Fix (when Moving/Copying a File)

If you are receiving an error Destination Path Too Long when trying to copy or move a file to a folder, try the quick trick below. The reason you are receiving the error is because Windows Explorer will fail to copy/delete/rename any path-name longer than 256 characters. The instructions below apply to Windows XP, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, and Windows Server 2012.

Destination Path Too Long Fix

Full Error: “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 shorter path.”

Screenshot of Destination Path Too Long error on Windows Server 2008
Destination Path Too Long

Screenshot of Destination Path Too Long error on Windows 8
the file name would be too long for the destination folder

Step 1

The quickest fix for this, especially if you are needing to simply migrate a lot of folders from one place to another is to map a drive to the drilled down folder.
What I would do is browse to the hidden share path and copy it to your clipboard.

destination path too long fix

Step 2

Then browse to “Computer” or “My Computer” and click on Map Network Drive. Depending on your OS it might appear under the tools menu.

destination path too long computer

Step 3

Then simply paste your long path and hit Finish.

READ ALSO  Fix: Windows Explorer Has Stopped Working

destination path too long network

Step 4

Now you will be able to copy the files/folders into this location without receiving that error.

Tip #1

There also is a great tool called “Long Path Tool” that works great to fix this: However it isn’t free, the method above is.

Tip #2

Thank you Colin Albright for the comment below. Yes, you can also use 7-zip or any zip utility to fix Destination Path Too Long problem. Sometimes on single files, this could be a better and faster solution. Just zip the folder up, and your good to go.

You may also like:

How to Solve the Windows Update Error 80072ee2 In this article we will guide you through the most complete guide for solving the Windows update error 80072ee2. Windows errors are notoriously dif...
00000A58 error code: In-Place Upgrade to Windows 1... If you want to upgrade your system to Windows 10, but it does not work fine and you have an error code 00000A58, this article will help you to fix thi...
Error 0x80070057: How to Solve An error people often get when running Windows 7 is something called Error Code 0x80070057, sometimes accompanied by the phrase “the parameter is wron...
Activation error 0xC004F034 after the upgrade to W... Difficulty in running the automatic or activation manual system of MS server is one challenge that users have to face for a free upgrade of Windows 7 ...
Changing expired password via RDS in Windows Serve... This article shows how the remote users can change their expired RDS password themselves through RDP-connection to the Remote Desktop Services (RDS) f...
  • Frank Zabelli

    For this problem there is a quick and effective solution, called the Long Path Tool, solves the problem for sure.

    • If you read all the way to the bottom, we actually put that in the post 🙂 We agree, that tool is great! But some people might not want to pay the money to unlock it. Thank you for your comment!

      • Frank Zabelli

        Sorry I did not see, I wanted to help, I found for free.

        • No problem 🙂 We are always happy to see people reading our articles and taking the time to comment.

  • Colin Albright

    You can fix this problem easily with 7-Zip.. :-), give it a try… Easy as pie to rename the file…

    • Haha, yes 7-zip would definitely fix this problem as well 🙂 In my example I was actually thinking more of entire directories containing hundreds of files. Yes, you could zip up the entire directory, but sometimes that takes a little longer. Depends on the size though. 7-zip definitely works great for single file copies though where this problem occurs.

      Thank you for commenting! I will add that as a user tip at the bottom of the post.

  • Neng Silvi

    Long path tool is the
    best solution for your problem. try it and solve your problem.

    • Thanks for your comment. We did include that at the bottom of the post. It is a great tool!

  • BackupChain

    There’s another freeware option called DeleteLongPath, please add above thank you!

  • Terri Smith

    A diff description of Brian’s nice solution.
    Just ‘map network drive’ the folder that contain the long file name file.
    In Win 8 it will map and auto open the folder.
    Delete the long named file
    Disconnect the temporary mapped folder

    • rick

      Dude! I cannot change or remove or otherwise shorten path names. First of all there are THOUSANDS of them in the folder. Secondly there are apps in each of thousands of folders that require things be in the EXACT sub folder paths. A better solution would be for MICRO-CHEESE to give us a free application to move / copy / delete folders with long paths. After all they allowed us to create the paths in the first place. They created this problem by trying to make everything compatible with ancient versions of their OS. Then sit back and say “Working as intended” and make us buy third party applications to do what the OS should do by default????

      • Net Verse

        I have the same problem and I have, over the years, stored 2 GB of software. It may be possible to copy long paths using Teracopy, but the last time I moved a long path, I used 7zip and just stored files in the folder with zero percent compressing into a 7zip file , then copied the whole 7zip file to the drive I wanted and unzip it. Worked for me.

  • johnn

    Will using long path tool solve copy and paste issues on the fly? for example, if my copy and paste has 900 paths too long, do I need to manually find them and copy them with long path tool, or is it fixed on the fly?

  • lewisz

    If you fell any problem to do copy,paste,error Deleting File or Folder.Then you should use Long Path Tool to solve your problem.
    If Long Path Tool fails on start up, please ensure you have .net framework installed on your PC.

  • rick

    Seriously? I can’t move a huge 500GB folder that contains years worth of data because the path names are to long? Seriously MS? What a piece of shit operating system. Who the hell would make an OS that allows you to create the paths in the first place. Have apps that now require those EXACT pathnames. Then disallow you from moving the folder because you stuck an arbitrary fixed pathname length in ancient versions of you OS (or should I say your VIRUS that you call an OS)? You created this ridiculous problem why the hell not gives us a free solution to it? I refuse to PAY for a third party application to do something that any stable reliable modern OS should be capable of doing!!!!!!

  • raymono

    I used to have similar problems too, but after using “long path tool” everything was solved. Try this software and you would be glad you did.

  • Zippydsmlee

    Tera copy just copies/moves whatever with no issue….

  • eden

    I am getting this same issue, i guess the best thing to do is to use a
    third party app like Long Path Tool. Just download it and use it to
    solve this issue. I hope this would help.

  • Michael

    Just use RoboCopy, that’s what we use. Free, works great. I use the GUI, but you can just use it at the command line as well.

  • boki_

    There’s a bit newer “Robocopy GUI” tool on technet:

  • shubham kumar

    Alternatively, you can use GS Richcopy 360, it also works for such problems. It supports long path names and fully copies and moves files and folders exceeding 260 characters in length. I have been using it since one year ,and it is one of the best copying software I have ever come across.