quicksearch() - /d doesn't respect /excl=

Things you’d like to miss in the future...
Post Reply
highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

quicksearch() - /d doesn't respect /excl=

Post by highend »

Unsure if this is just missing or a bug...

Code: Select all

text quicksearch("/d /excl=\System Volume Information\|\$RECYCLE.BIN\", "%SystemDrive%", , "s");
This should list all folders on the system drive, excluding the two. But when /d is used, folders to exclude aren't taken
into account...
One of my scripts helped you out? Please donate via Paypal

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

Re: quicksearch() - /d doesn't respect /excl=

Post by highend »

Don?
One of my scripts helped you out? Please donate via Paypal

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

Re: quicksearch() - /d doesn't respect /excl=

Post by admin »

Seems to work fine (added "Windows" to the excluded folders to speed it up):
Attachments
2018-12-23_111651.png
2018-12-23_111651.png (144.04 KiB) Viewed 386 times

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

Re: quicksearch() - /d doesn't respect /excl=

Post by highend »

Ok, so it's only about scanning, the excluded folders aren't hidden from the result list. So I still need to use formatlist() afterwards
One of my scripts helped you out? Please donate via Paypal

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

Re: quicksearch() - /d doesn't respect /excl=

Post by admin »

Yes, just like the GUI excluded folders function.

Post Reply