Search list of files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
JohnMullins
Posts: 2
Joined: 03 Jun 2015 23:21

Search list of files

Post by JohnMullins »

Hello,
Is it possible to search for a list of files with XYplorers file search function? So for example I want to find in a huge folder including its subfolders find the files with the names "test1", "name", "xyz" etc?

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search list of files

Post by highend »

Just chain them with a semicolon in between, e.g.

test1;name;xyz

[x] Include subfolders in the Name & Location tab must be checked, too.
One of my scripts helped you out? Please donate via Paypal

JohnMullins
Posts: 2
Joined: 03 Jun 2015 23:21

Re: Search list of files

Post by JohnMullins »

Cool, that worked. Thanks!

kunkel321
Posts: 664
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Search list of files

Post by kunkel321 »

Huh. Highend you helped me solve the same problem with a script here: www.xyplorer.com/xyfc/viewtopic.php?f=7&t=13973
I suppose that using semicolons is better though... Same effect, but you don't have to specify "boolean."
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

highend
Posts: 14953
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search list of files

Post by highend »

I suppose that using semicolons is better though... Same effect, but you don't have to specify "boolean."
Wouldn't say they're better. They are just easier for JohnMullins. Boolean searches are more powerful. And you don't have to specify "boolean" for each search (regarding the script).

Just replace the first line with:

Code: Select all

copytext replace(formatlist(":<clipboard>", "e", "<crlf>"), "<crlf>", " OR ");
It prepends a ":" which automatically converts the normal search into a boolean one (so just select normal, not boolean^^).
One of my scripts helped you out? Please donate via Paypal

Post Reply