How to Random Pic from inside all folder

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
taufan
Posts: 51
Joined: 22 Mar 2020 02:33

How to Random Pic from inside all folder

Post by taufan »

Hi,

My folder contain 3 folder. For example:
MyPics\folder1\
MyPics\folder2\
MyPics\folder3\

How to pick 4 random pic, from folder MyPics (folder 1, folder 2, folder 3) ?
using:
vi:<get pick 4 "D:\MyPics">

Thanks.

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

Re: How to Random Pic from inside all folder

Post by highend »

Not possible via pick
One of my scripts helped you out? Please donate via Paypal

Garonne
Posts: 195
Joined: 21 Apr 2015 19:10
Location: Win11, 100% Scaling
Contact:

Re: How to Random Pic from inside all folder

Post by Garonne »

Didn't Don post a way to do it in multiple steps, though?
  1. Collect all the possible files
  2. Pick n files from the created list
Or something like that?

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

Re: How to Random Pic from inside all folder

Post by highend »

Yeah, but not as it was requested by using a single (parent) folder: viewtopic.php?p=207332
One of my scripts helped you out? Please donate via Paypal

Garonne
Posts: 195
Joined: 21 Apr 2015 19:10
Location: Win11, 100% Scaling
Contact:

Re: How to Random Pic from inside all folder

Post by Garonne »

Not if it's unclear how the subfolders are named... true...

Shouldn't that be possible if Don were to enable wildcards/regexes as paths?

That would be bad for performance, though, I guess...

Post Reply