Quicksearch /a [show all] overrides /n or /d

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Quicksearch /a [show all] overrides /n or /d

Post by klownboy »

Subject says it all really. Before I report as a bug, I wanted to ask here in case I was all wet.
If I have a folder with some jpgs and some subfolders with some as well, and run something like: text quicksearch("*.jpg /n /a", <curpath>);
and then run text quicksearch("*.jpg /n", <curpath>);You'll see that the SC quicksearch with the "/a" will pick up on all the jpgs in the subfolders as well. Should that be the case? It doesn't seem right to me. "/a" should show all files including hidden files in that folder, but if you specify "/n" as well, it should not show all the jpgs in the subs too. "/a" also overrides the "folders only" flag "/d". Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Quicksearch /a [show all] overrides /n or /d

Post by highend »

I'd consider this as a bug...
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Quicksearch /a [show all] overrides /n or /d

Post by klownboy »

OK, thanks highend. I'll cut and paste most of it over to bugs.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Quicksearch /a [show all] overrides /n or /d

Post by admin »

Wrong syntax. Those one-letter switches have to be combined: "*.jpg /na"

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Quicksearch /a [show all] overrides /n or /d

Post by klownboy »

Hey Don, I ended up bugging this one over here viewtopic.php?f=2&t=25340. LittleBig squared me away on the syntax that works. So, I'm all set now, but in going through the Help, you have separated switches when one switch has more than 1 letter (e.g., /n /flat which obviously makes sense), but combines them when they both are single letter (e.g., /ed). Help states that you can combine them, but I think it could be much clearer and less prone to error if the help file stated flat-out that you must combine one-letter switches. Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Quicksearch /a [show all] overrides /n or /d

Post by admin »

... must combine one-letter switches. Yep, I'll correct the help.

Post Reply