I am trying to create file names that are longer than 260 charcters so that I can test some software. Does anyone know of a way to create a file name / folder combination that is greater than 260 characters?
For the most part pathnames don't have a limit defined, while the filename limit depends on the filesystem type:
Also, the filename limit may be reduced when under a deep hierarchy.
AFAIK you cannot overreach this limit, and this is why you have file metadata. And if Microsoft says that is their limit, then that's the breaks. I'm just glad we're not stuck with the 8.3 limit anymore. Which software on earth needs such long filenames anyway?
Added some tests cases