-
Notifications
You must be signed in to change notification settings - Fork 590
Open
Description
| if (filename.Length > Native32.WIN32_MAX_PATH - 11) // -11 to allow for ".<segment>" |
We just hit this in our use case, where the machine has the extended max path registry key set, but we were still getting this, I looked at the class and it looks like it is throwing an exception if the path is > 260 characters, even with the registry key set
with this, even if you manually specify the special syntax to get win32 to use a extended path \\?\C:\some\path\here won't work
https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
Metadata
Metadata
Assignees
Labels
No labels