Destination Path Too Long Error 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.

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

Screenshot of “Destination Path Too Long” error on Windows 8

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.


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.


Step 3

Then simply paste your long path and hit Finish.


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 the problem. Sometimes on single files, this could be a better and faster solution. Just zip the folder up, and your good to go.

Incoming search terms:

  • destination path too long
  • file name too long for destination folder
  • destination path too long error
  • destination path too long windows 2008 r2
  • destination path too long windows 7
  • Frank Zabelli

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

    • Brian Jackson

      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.

        • Brian Jackson

          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…

    • Brian Jackson

      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.

      • Brian Jackson

        There, comment added. Thanks!

  • stevenManilov

    Long path tool will solve this problem

  • stevenManilov

    Long path tool will solve this issue.

    • Brian Jackson

      Thanks for commenting. We actually included that in our post towards the bottom. However some functionality of LongPathTool cost money. It is a great tool though! I use it quite often.

  • fernandosho

    Try this program called “Long Path Tool”just click or copy and paste this link into the url bar .This program will help you resolve this

    kind of problem.

    • Brian Jackson

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

  • Neng Silvi

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

    • Brian Jackson

      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

  • andrewop

    you are welcome to the IT bros
    you can also use long path tool to sort out your problem