DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Exclude all files  (Read 20,651 times)

wizk11

  • Supporting Member
  • Joined in 2023
  • **
  • Posts: 10
Exclude all files
« on: September 28, 2023, 10:16 PM »
Hi,

First, thanks for this awesome program!

Is there a way to exclude all files for a location, and only return directories from it?

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: Exclude all files
« Reply #1 on: September 30, 2023, 09:25 AM »
In regular search you can add +\ to the search string to only show results that are folders.

But maybe you asked about options inside the "search directory" window? I don't think there's an option to show only folders there.

But you can create a search alias that both uses +\ to only show results that are folders and uses a modifier keyword (created in a "search directory") to narrow the results further, for example only show results under the parent folder C:\abc

wizk11

  • Supporting Member
  • Joined in 2023
  • **
  • Posts: 10
Re: Exclude all files
« Reply #2 on: September 30, 2023, 01:18 PM »
In regular search you can add +\ to the search string to only show results that are folders.

But maybe you asked about options inside the "search directory" window? I don't think there's an option to show only folders there.

But you can create a search alias that both uses +\ to only show results that are folders and uses a modifier keyword (created in a "search directory") to narrow the results further, for example only show results under the parent folder C:\abc

Hi Nod5,

So happy to see there is still activity on this forum  :D

So I meant setting one specific folder such that, FARR only showed folders from that location (+ other results from other locations based on their settings).

I was able to do this by specifying \ in extension box:

https://i.imgur.com/Qmnbrcg.jpg

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: Exclude all files
« Reply #3 on: September 30, 2023, 06:15 PM »
Glad you found the solution!

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 566
    • Participated in NANY Challenge Seven Times
Re: Exclude all files
« Reply #4 on: August 07, 2024, 04:25 PM »
Is there a way to make ALL the search folders exclude certain file extensions (files, for example) - I just want to show executables in my default search list and only search directories by using the \ character.

Is there a global search exclusion list?

Original address: https://www.donationcoder.com/forum/index.php?topic=53743.0