Overlong file names - calculation

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Overlong file names - calculation

Post by Marco »

Code: Select all

v13.20.00076 - 2013-11-07 13:08
    ! Color Filters: The factory default filter for overlong filenames
      was falsely defined as "len:>260". It should have been
      "len:>=260". Fixed.
      FYI, XY reports the filename length without an invisible
      terminating null character, but the maximum filename length for
      the windows shell is defined as 260 *including* the terminating
      null character. Therefore a filename reported as 260 characters by
      XY, is actually 261 characters for the shell and hence too long.
Given that, I wonder if len: routine should include by default a +1 internally, so to match the length that the OS "sees".
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 67224
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Overlong file names - calculation

Post by admin »

Yes, that would have been clever. But now it's too late.

Post Reply