DonationCoder.com Software > Find And Run Robot
Multiple directories (%PATH%) in Search Folders list
(1/1)
pmoore:
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:
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.
This could be done by allowing "Directory Path" to contain multiple directories, separated by a user-specified separator (so I'd use %PATH% and ";").
--- End quote ---
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:
implemented in not-yet-released version of farr, will be in next release.
nitrix-ud:
@mouser
so cool you are working on FARR again :-*
Navigation
[0] Message Index
Go to full version