Page 1 of 1

How to find files with paths longer than 255 characters?

Posted: 31 Oct 2010 20:11
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.

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

Posted: 31 Oct 2010 20:43
by SkyFrontier
try using this at the Name field on Find Files:

Code: Select all

lent: > 255

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

Posted: 31 Oct 2010 21:33
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

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

Posted: 01 Nov 2010 02:22
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!