Page 1 of 1

"ultralong" file names

Posted: Thu Sep 07, 2017 12:51 pm
by bdragon
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

Re: "ultralong" file names

Posted: Thu Sep 07, 2017 12:57 pm
by xnview
:( 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

Re: "ultralong" file names

Posted: Thu Sep 07, 2017 2:30 pm
by bdragon
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).

Re: "ultralong" file names

Posted: Tue May 15, 2018 8:52 am
by xnview
See issue for current status and some details.

Re: "ultralong" file names

Posted: Thu Jun 07, 2018 9:39 am
by xnview
This problem is supposed to be fixed in XnView MP 0.91. Please check and confirm the bug fix here.