4 ms·
Windows lifted that limit a few years ago
by Already__Taken 5y ago
Windows lifted that limit a few years ago
- paavohtl 5y agoAFAIK the limit has been lifted since Windows NT (so since the 90s), but only if you use the obscure NT path prefix (\\?\).
- magicalhippo 5y agoNot that obscure, it's been mentioned on MSDN for every relevant operation since before 2000.
- divingdragon 5y agoIIRC you still need to use a special flag to enable it, right?
- masklinn 5y agoThere are two things necessary for an application to use long paths: * the system must have LongPathsEnabled set (though it might be the default nowadays, not sure) * the application itself must have `{http://schemas.microsoft.com/SMI/2016/WindowsSettings}longPathAware http://schemas.microsoft.com/SMI/2016/WindowsSettings}longPa...` set in its manifest
- dragonwriter 5y ago> Windows lifted that limit a few years ago IIRC, its a mess because it was lifted inconsistently for different access methods (APIs, and as a consequence UI/CLI methods that depend on them), and at least for some in ways which also are or were dependent on how paths are expressed. So it is, or at least has historically been after it was first “lifted”, a minefield of inconsistent, surprising behaviors with plenty of gotchas if you didn’t treat it as if it were still a limit.