There is a lot of misinformation around. See the horse's mouth for the details,
A working approximation is 255 per path element with an overall max of 32767. But you need to use the "UNC syntax" (\\?\...) to avail yourself of the extended length.
In reply to Re: Path and File Name Maximum Lengths
by BrowserUk
in thread Path and File Name Maximum Lengths
by merrymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |