16 Oct 2015

When copying files - Source Path Too Long

In Windows, when copying files have you seen this error message:

Source Path Too Long
The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name, or try renaming to shorter name(s) before attempting this operation.

Source Path Too Long
Windows 8.1 screen shot - it varies depending on your version of Windows.

It's due to a limitation of 256 characters of the folder and file name length combined. 

The simplest solution I've found to this issue is to use RoboCopy to copy the files. It ignores the 256 character limit and just copies everything, no questions asked!

From the command line (CMD):
ROBOCOPY [source] [destination] /s  

For more help please have a look at the following article about RoboCopy:


No comments: