How to find files with paths longer than 255 characters?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Jerry
Posts: 828
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

How to find files with paths longer than 255 characters?

Post by Jerry »

Hi,
Is there any way currently in XYplorer (9.60) to search recursively down a hierarchy for files having complete paths longer than 255 characters? Ideally, I would love to see an option for this in the Name & Location tab of the find panel.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: How to find files with paths longer than 255 characters?

Post by SkyFrontier »

try using this at the Name field on Find Files:

Code: Select all

lent: > 255
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: How to find files with paths longer than 255 characters?

Post by SkyFrontier »

(useful hint) for reference on search by length (lent:):

Code: Select all

v9.00.0204 - 2010-04-26 12:00
    ! Find Files: Numeric name filter types "len" and "lent" were 
      internally treated as string parts when used without comparison 
      operator and without quotes.
      E.g. 'lent:10' would also match length 107 because "*10*" matches 
      "107". You had to do 'lent:"10"' to work around this. This is 
      fixed now:
      - Find all items whose title is exactly 10 characters long. Both 
        work identically:
        lent:10
        lent:"10"
      - Find all items whose title length contains "10":
        lent:*10*
v9.00.0202 - 2010-04-23 12:05
    + Find Files: Now you can search by the length of the file title 
      (that's the document name without the path). 
      Simply prefix "lent:" to the search term in the Name field.
      Examples:
      - Find all items whose title is exactly 10 characters long:
        lent:10
      - Find all items whose title is 3 characters long or shorter:
        lent: <= 3
      - Find all items with a long file name (> 12 characters):
        lent: > 12
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Jerry
Posts: 828
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: How to find files with paths longer than 255 characters?

Post by Jerry »

Excellent. Although, it seems that len is the one to use for the full path, not lent. Help doc says that also. Thanks!
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.

Post Reply