

Other errors that are not so obvious but are caused by Path Too Long error The file name you specified is not valid or too long.Error 1320: The specified path is too long.Error 0x80070003: The system cannot find the path specified. Delete Folder - An unexpected error is keeping you from deleting the folder.Interrupted Action - An unexpected error is keeping your from coping the file.Destination Path Too Long - The filename(s) would be too long for the destination folder.

#Onedrive long path tool windows
This limit was imposed for a backwards compatibility issue with older Windows versions. So when you use Windows Explorer to copy invalid lengths it fails. This Windows API MAX_PATH constant sets the max length to 260, and is used to build Windows Explorer. Combined A+B+C must be less than or equal to 260 characters.The drive letter with a : colon and backslash \ characters for length of 3 characters max. Less a minimum filename (including the extension) of length 9 to be created, drive letter C, and the invisible terminating null character. The directory name must be less than or equal to 247 characters. Less 3 characters for drive letter C and 1 is for the invisible terminating null character. The filename with extension (filename.txt) must be less than or equal to 256 characters. When a path such as " C:\directoryA\filenameB.txt" which consists of a directory (A), filename (B, including extension) and drive letter (C) is great than 260 characters in length you will get the path too long error when coping/deleting/altering or moving.Ī (directory length) + B (filename length) + C <= 260 characters
