I had no idea where to turn for this question so, here I am.
I am aware of the long path name issue but came across a situation where the same file has an issue on a HDD but not a USB drive.
Easiest tests to see the oddities are (1) right-click the file to get to the properties dialog box and (2) right click a higher folder to see if the file properties are included in the properties detail.
Both tests fail on the HDD where the path/filename length is 262. The surprise is on the USB backup drive where there are no issues even though the length is 295 bytes.
I thought the 260 byte limit was absolute so what happened. (I also know the 260 byte limit is a theoretical max that can't actually be reached for various reasons including the null terminator.)
Drive D (SATA drive, NTFS format)
Full path and filename length is 262 bytes and the tests fail. Shorten the folder name and all is well.
Drive O (Seagate 4 TB USB drive, NTFS format)
Full path and filename length is 295 bytes and both tests work and return correct results. File copied by Cobian Backup 11 which inserts "Rog\D 2016-11-17 14;15;49 (Full)\" after the drive letter.
Neither drive has LongPathsEnabled enabled (based on the registry assuming what I found is correct) or 8.3 disabled (verified using FSUTIL_
Any ideas?
I am aware of the long path name issue but came across a situation where the same file has an issue on a HDD but not a USB drive.
Easiest tests to see the oddities are (1) right-click the file to get to the properties dialog box and (2) right click a higher folder to see if the file properties are included in the properties detail.
Both tests fail on the HDD where the path/filename length is 262. The surprise is on the USB backup drive where there are no issues even though the length is 295 bytes.
I thought the 260 byte limit was absolute so what happened. (I also know the 260 byte limit is a theoretical max that can't actually be reached for various reasons including the null terminator.)
Drive D (SATA drive, NTFS format)
Full path and filename length is 262 bytes and the tests fail. Shorten the folder name and all is well.
Drive O (Seagate 4 TB USB drive, NTFS format)
Full path and filename length is 295 bytes and both tests work and return correct results. File copied by Cobian Backup 11 which inserts "Rog\D 2016-11-17 14;15;49 (Full)\" after the drive letter.
Neither drive has LongPathsEnabled enabled (based on the registry assuming what I found is correct) or 8.3 disabled (verified using FSUTIL_
Any ideas?