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: Locate32 Plugin (and FARR) Search Question  (Read 11,755 times)

CatamountJack

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 56
Locate32 Plugin (and FARR) Search Question
« on: December 15, 2008, 07:46 PM »
Hi,

I'm curious if there is a way to search my harddrive using the Locate32 plugin for FARR (and just via FARR itself) for a particular file.

The file I'm searching for has "exam" in the title, but when I search for "exam" I get lots of files that have "example" in their name (so many, I can't find what I'm looking for).

Is there any way to narrow the list accordingly?  Using Locate32 directly, I can search for "exam -example" and it narrows the list down to what I'm looking for, but I can't find a way to do the same thing with either FARR or the Locate32 plugin for FARR.  :huh:  Probably a simple answer, but I'm missing a beat somewhere.

Thanks in advance! 

jmj

  • Author of Locate32
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 42
Re: Locate32 Plugin (and FARR) Search Question
« Reply #1 on: December 16, 2008, 04:14 PM »
Try "-lw exam". FARR plugin uses locate.exe with searches so you can use its command line arguments (see "locate -h" in command prompt).

For Locate32, I suggest you to try "Match whole name only" option in Advanced tab.

CatamountJack

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 56
Re: Locate32 Plugin (and FARR) Search Question
« Reply #2 on: December 17, 2008, 04:06 AM »
Try "-lw exam". FARR plugin uses locate.exe with searches so you can use its command line arguments (see "locate -h" in command prompt).

For Locate32, I suggest you to try "Match whole name only" option in Advanced tab.

Thanks, jmj, for your reply!

Unfortunately your suggestions didn't work in my situation.  The file name I'm looking for merely contains the word "exam", it is not the entire title.  Using -lw, therefore, brings up no results. 

As I mentioned, the Locate32 program itself works great!  I can specify "exam -example" in my search and it will match all files containing "exam", but exclude just those that have "example".  Neither the Locate32 plugin nor FARR seem to offer the same capabilities though (so far as I can tell).  I consulted the list of command line arguments as you suggested, but I still don't see anything that works in this particular case.  I hope I might be just missing something obvious!

I'd welcome any further suggestions you might have.  Many thanks!

jmj

  • Author of Locate32
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 42
Re: Locate32 Plugin (and FARR) Search Question
« Reply #3 on: December 17, 2008, 08:30 PM »
Ok. I think that this is issue in locate.exe, not FAR plugin itself (unless Okke wants to start using Locate32 searching module directly). To get this work, I should extend locate.exe to understand logical operators. I'll add that to the todo list.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Locate32 Plugin (and FARR) Search Question
« Reply #4 on: December 17, 2008, 08:40 PM »
Quote
unless Okke wants to start using Locate32 searching module directly

one of the things i would really really like to do is build into the core FARR functionality the option to use locate32 module or indices directly and explicitly.

jmj -- maybe one of these days in near future you will let me bend your ear and ask a few questions about the best way for me to do it.

jmj

  • Author of Locate32
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 42
Re: Locate32 Plugin (and FARR) Search Question
« Reply #5 on: December 18, 2008, 04:41 PM »
jmj -- maybe one of these days in near future you will let me bend your ear and ask a few questions about the best way for me to do it.

Sure. Maybe I should put Locate32's improve searching interface and put all into a dll file so it would be easier to use in external problems. 

CatamountJack

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 56
Re: Locate32 Plugin (and FARR) Search Question
« Reply #6 on: December 20, 2008, 12:59 AM »
I'm looking forward to this and, at the risk of sounding like a broken record, thanks to the both of you for your great programs!

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