Due to deep directory tree some of my files have ... Let's call it: an ultralong name.
There is a a way to enable them in windows. It is not enabled by default for compatibility.
I see that in the latest xnview this was "disabled".
What i ask is: does it check with the system what i the maximum length? (In my case i set it to 65535) or does it have an internal variable i would need to change?
I need to know before upgrading
"ultralong" file names
Moderators: XnTriq, helmut, xnview, Dreamer
Re: "ultralong" file names
i don't know how to check if it's enabled or not, so currently it's 256 chars. I'll add a setting to disable this path checking
Pierre.
Re: "ultralong" file names
By default it's 256 characters
However one can create a key named "LongPathsEnabled" in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem".
So just check for that one key and its value.
If there is no key, then it's 256 characters (for Windows NT compatibility), otherwise it's 65535 if it's set to 1.
It only works on windows 10 and "above" (i hope).
However one can create a key named "LongPathsEnabled" in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem".
So just check for that one key and its value.
If there is no key, then it's 256 characters (for Windows NT compatibility), otherwise it's 65535 if it's set to 1.
It only works on windows 10 and "above" (i hope).
Re: "ultralong" file names
This problem is supposed to be fixed in XnView MP 0.91. Please check and confirm the bug fix here.
Pierre.