-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Consider enabling longPathAware Maximum Path Length Limitation
To enable the new long path behavior per application, two conditions must be met. A registry value must be set, and the application manifest must include the manifest longPathAware element.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
and
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<ws2:longPathAware>true</ws2:longPathAware>
</windowsSettings>
</application>
Updating the manifest, Windows 10, version 1607 and greater paths beyond 260 characters are available, if supported by the underlying file-system up-to 32K characters.
Notes:
- mc should support paths up to 1024 characters in length, this representing a traditional Unix limit, being a value >=
_POSIX_PATH_MAX
see limits for details; this internal limit can be reviewed at a later date. - Cygwin's PATH_MAX limit is 4096, with (_XOPEN_PATH_MAX as 1024).
- Linux PATH_MAX is 4096 characters.
- NFS limit is currently 4096 characters.
Metadata
Metadata
Assignees
Labels
No labels