Are you getting an error stating "Destination Path too long" when you are copying files from one destination to another? This occurs because Windows do not accept file path with more than 256 characters by default, and you are trying to copy a file to a location that has a long path name. Read further to see how to copy the files across:
- For example, we want to copy CopyMe123321.txt from Downloads to
- As the destination path is longer than 260 characters, Windows will prompt a warning dialog "Destination Path too long".
- There are 2 simple ways to resolve the above issue.
- Rename the parent folder.
- If the folder name can be renamed, simply rename it to a shorter path, in this case, we can rename the long path name to: H:\TestingLongPathLevel1\TestingLongPathLevel2\TestingLongPathLevel3\
- After the adjustment, We can copy CopyMe123321.txt from Downloads to the above destination!
- If you are not able to make changes to the parent's folder path name, you will need to Map a network drive to the destination folder.
- Open File Explorer and navigate to "This PC".
- From Computer tab, Select Map Network Drive.
- Map Network Drive dialog box will show up:
- Select a drive letter, I have picked "U" in my case.
- Browse to the destination folder that you would like to paste your file. In my case: H:\TestingLongPathLevel1\TestingLongPathLevel2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxTestingLongPathLevel3\
- Click Finish.
- You should see a new window with the mapped drive.
- Copy CopyMe123321.txt from Downloads to the mapped drive and it will appear in the original destination folder as well!