The source file name(s) are larger than is supported by the file system
This situation typically happens when you create a lot of sub-folders, and the path address becomes long. In this situation, the folder would keep occupying valuable space in the system. However, it can neither be used nor deleted. To resolve the problem, you could proceed with the following solutions sequentially:
1] Permanently delete the file/sub-folder
You wouldn’t be able to send the troublesome file/sub-folder to the Recycle Bin since you are changing its path which is not possible. However, you can delete the file/sub-folder permanently. Select on the main folder and press SHIFT+DEL to delete it permanently. Fix: Path too long Error 0x80010135
2] Use third-party software to delete the folder
Unlike Windows’ in-built functionality, DeleteOnClick software neither sends the file to the Recycle Bin nor does it merely sideline space on the drive for more software (which SHIFT+DEL) does. Thus, you could use the freeware to delete the file/sub-folder. You could use other third-party free file deleter software products designed to delete locked files for resolving the issue in discussion. These freeware products are specifically meant to help when the file cannot be deleted using the usual mechanism. Some users have also suggested that mapping a network drive to a shorter path could help to force the deletion of the file/sub-folder. However, this didn’t work for me.
Related reads: