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 7
  • destination path too long windows 2008 r2
  • 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

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

  • andrewop

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


  • 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!!!!!!

    • kamila danielo

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


    “Long Path Tool” Can fix this error !

  • shashi kant Gupta

    Try and download ” Long Path Tool ” is also useful in situations where you see these error messages: Cannot read from source file or disk, there has been a sharing violation, cannot delete file or folder, the file name you specified is not valid or too long, the source or destination file may be in use and many other file managing errors.

  • justine

    Try ‘Long Path Tool’ it will help you fix all the issues.

  • Kevin15

    Try Long Path Tool Program this is very useful!

  • kamila danielo

    You can try Long path tool program this is very useful!