topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 12:45 am
  • 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: Search full path + filename  (Read 4359 times)

JeroenVdb

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Search full path + filename
« on: July 02, 2012, 04:44 AM »
In my documents I have many references (paths) to files I want to open quickly with FARR2. I select the path en hit my shortcut that selects and copies the path so I search for something like this: /WEB-INF/jsp/common/layout/article/detail.jsp -> 0 results (the file exists offcourse), the path before /WEB-INF/ isn't always the same!

Is it possible to return the correct file with FARR2?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Search full path + filename
« Reply #1 on: July 02, 2012, 04:59 AM »
Can you elaborate a little bit? I'm not sure I understand what you are asking.

JeroenVdb

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Search full path + filename
« Reply #2 on: July 02, 2012, 07:31 AM »
When I search for /WEB-INF/jsp/common/layout/article/detail.jsp I want FARR to search for the consecutive folders; WEB-INF, jsp, common, layout and article + search for 'detail.jsp' in that last folder.

The path before /WEB-INF/ is unknown, it won't always be the same...

EXAMPLE; /WEB-INF/jsp/common/layout/article/detail.jsp should find:
1. C:\sites\prod\core\web\src\main\webapp\WEB-INF\jsp\common\layout\article
2. C:\sites\dev\core\web\src\main\webapp\WEB-INF\jsp\common\layout\article

Other search examples:
/WEB-INF/jsp/common/component/article/hftn.jsp
/WEB-INF/jsp/common/component/article/articlePagedListContainer.jsp
/WEB-INF/jsp/common/component/article/articlePagedListContent.jsp

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Search full path + filename
« Reply #3 on: July 02, 2012, 09:40 AM »
ok try this:

type something like: WEB-INF\jsp\common\component\article\hftn

that should be able to find
C:\sites\prod\core\web\src\main\webapp\WEB-INF\jsp\common\component\article\hftn\...

NOTE: Its important that you not start with \ and not use /