Search with file name lists

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
eil
Posts: 1821
Joined: 13 Jan 2011 19:44

Re: Search with file name lists

Post by eil »

Leo50 wrote: 23 Nov 2025 21:37 Hello

Is there a way to search for files in xyplorer via file lists? For example, there are 50 file names in the list and the corresponding files
should then be searched for and listed in order to move or delete them.
Is something like this possible with xyplorer or with another tool.
I hope I explained it clearly.

I would be very grateful for any help or tips.
Just imagining how i'd do that with scripting:
- put file names in txt
- load it in variable and run X number of foreach separate searches
- if found put them in var and at the end dumb all found in txt/paper folder
= that would allow to do operations and having them shown all together, no matter how different their location is.
Win 7 SP1 x64 100% 1366x768|1900x1080

yuyu
Posts: 147
Joined: 19 Jun 2018 12:40
Location: Win 7 x64 - 100%

Re: Search with file name lists

Post by yuyu »

Convert your list to a string by replacing \r\n to ;.

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

Re: Search with file name lists

Post by admin »

Just load the list as a paper folder.

Leo50
Posts: 3
Joined: 19 Nov 2025 14:56

Re: Search with file name lists

Post by Leo50 »

The list will always change different file names.

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

Re: Search with file name lists

Post by admin »

... and the corresponding files should then be searched for and listed in order to move or delete them.
Do your moving and deleting, then load the next list.

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

Re: Search with file name lists

Post by highend »

E.g. if you write your lists (.txt files) in this folder:
{xyplorer data path}\Paper

this would make it a bit easier...

Code: Select all

    $srcPath  = <xypaper>;
    $srcFiles = listfolder($srcPath, "*.txt", 1, <crlf>);
    $srcFile  = inputselect("Select file", $srcFiles, <crlf>, 1+32+2048+8192+16384, , 400, 600);
    paperfolder("Current", readfile($srcFile));
One of my scripts helped you out? Please donate via Paypal

Post Reply