Search then copy paths problem

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
dhctza
Posts: 6
Joined: 30 Jun 2020 16:54

Search then copy paths problem

Post by dhctza » 30 Jun 2020 17:01

I do a search for jpg files in a complex directory structure.
I find 12,000 files
When I try to copy those files from the search results window the copy / paste ALWAYS copies the entire path for every file.

How do I simply copy all the jpg that was found into a single directory WITHOUT their paths.

Is this a bug when copying from a search results window?

Alternatively - I need a script to run though the search results and copy them one by one - I simply don't know how to write such a script.

highend
Posts: 9101
Joined: 06 Feb 2011 00:33

Re: Search then copy paths problem

Post by highend » 30 Jun 2020 17:10

Which value does the entry AutoRichFileOps in the section [Settings] in your XYplorer.ini file has?
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

dhctza
Posts: 6
Joined: 30 Jun 2020 16:54

Re: Search then copy paths problem

Post by dhctza » 30 Jun 2020 17:40

It is set to 1 = shall I set it to 2

I prefer not to have the behaviour because it is un-intuitive.

highend
Posts: 9101
Joined: 06 Feb 2011 00:33

Re: Search then copy paths problem

Post by highend » 30 Jun 2020 17:41

Then set it to 2 while XY is not running
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

dhctza
Posts: 6
Joined: 30 Jun 2020 16:54

Re: Search then copy paths problem

Post by dhctza » 30 Jun 2020 17:46

I made it 2 and restared the app. The results are the same.

dhctza
Posts: 6
Joined: 30 Jun 2020 16:54

Re: Search then copy paths problem

Post by dhctza » 30 Jun 2020 17:51

That is the ini in User/AppData/Roaming...

highend
Posts: 9101
Joined: 06 Feb 2011 00:33

Re: Search then copy paths problem

Post by highend » 30 Jun 2020 17:53

Execute this from the address bar and show the output: echo getkey("AutoRichFileOps", "Settings");
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

dhctza
Posts: 6
Joined: 30 Jun 2020 16:54

Re: Search then copy paths problem

Post by dhctza » 30 Jun 2020 17:54

Okay, I see it overwrites the ini on exit if saved - I will test again

dhctza
Posts: 6
Joined: 30 Jun 2020 16:54

Re: Search then copy paths problem

Post by dhctza » 30 Jun 2020 17:59

Sorted - great - thanks!

Post Reply