Thursday, February 14, 2019

The source file name(s) are larger than is supported by the file system

For example if you are getting the error trying to delete:

\\NAS.Device.Company.com\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z

Then map a network drive Z: to

\\NAS.Device.Company.com\a\b\c\d\e\f\g\h\i\j\k\

This will reduce the file herarch down to a smaller path.  Open explorer and view the Z: drive.  It should contain a folder called L (in this example).

You should now be able to delete the L and its subfolders without an issue, thereby deleting half the folder hierarchy.  After that, disconnect the z: drive and try to delete whatever is left normally.  Problem solved!