avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday June 16, 2024, 7:14 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Extension Filtering still shows folders  (Read 3406 times)


  • Participant
  • Joined in 2015
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Extension Filtering still shows folders
« on: August 22, 2018, 07:05 AM »
In "Options -> Lists -> Search Folders" I added a folder and selected an extension under the "Optional file extension restrictions".
Still, if I search for a specific keyword, the folders with said keyword are still shown in the result window.
I just want to see files, not folders.

Any idea how to make this work?

Thank you

Capture.PNGExtension Filtering still shows folders
Capture2.PNGExtension Filtering still shows folders


  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: Extension Filtering still shows folders
« Reply #1 on: August 31, 2018, 05:02 AM »
I don't think you can exclude subfolders in the "Search Folders" settings window.

You can do it with a custom search folder and an Alias though. Here is an example

1. create a Search folder.
Directory path:  C:\folder\this
optional file extension restrictions:  sln
optional modifier keyword: my_search_no_folders

2. go to options > alias and create a new Alias.
Alias: my custom search
regular expression: ^(?:m|my) (..*)
results: dosearch -alias +my_search_no_folders $$1 -\

After that you can type m xyz or my xyz into FARR and the results will be a list of files with the string xyz in the name and the extension .sln and that reside in the folder C:\folder\this or its subfolders. The results will not list any folders.