Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 07, 2016, 02:20:16 PM
  • Proudly celebrating 10 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: Multiple directories (%PATH%) in Search Folders list  (Read 3624 times)

pmoore

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 17
    • View Profile
    • Donate to Member
Multiple directories (%PATH%) in Search Folders list
« on: September 01, 2008, 02:56:31 PM »
What I'd like to be able to do is to specify that the search list includes all of the directories in my %PATH% variable. The reason for this is that I'd like to be able to launch programs on my PATH (which are generally command line utilities) using the Console plugin - so I want an alias that searches PATH (using a keyword to make sure the command line programs aren't included in normal searches). But I'd rather not have to explicitly list the directories in PATH, so that I don't have to update them when I change my PATH.

This could be done by allowing "Directory Path" to contain multiple directories, separated by a user-specified separator (so I'd use %PATH% and ";").

Also nice would be to have a search folder, excluding subdirectories which are on PATH (so that I can put my Utils directory in the search folders, but exclude command line utilities). Again, this could be done by allowing "Exclude subdirectories" to use a separator other than newline (so I could exclude %PATH% with separator ";").

Can any of this be done already, or would it be possible as a new feature?

Paul.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Multiple directories (%PATH%) in Search Folders list
« Reply #1 on: September 01, 2008, 09:37:48 PM »
it can't be done easily but seems like a reasonable idea to me since FARR already will resolve an environment variable pointing to a single path.  in fact i'll bet you're not the only one who would like to have %PATH% searched for files. makes complete sense.

Quote
This could be done by allowing "Directory Path" to contain multiple directories, separated by a user-specified separator (so I'd use %PATH% and ";").

works for me though i'd suggest we use ; always.

i'm putting it on the todo list and hopefully i can get it in the next release.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Multiple directories (%PATH%) in Search Folders list
« Reply #2 on: February 24, 2009, 12:29:17 AM »
implemented in not-yet-released version of farr, will be in next release.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: Multiple directories (%PATH%) in Search Folders list
« Reply #3 on: February 24, 2009, 02:03:16 AM »
@mouser

so cool you are working on FARR again  :-*