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 04, 2016, 10:32:34 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: searching folders with custom path  (Read 1234 times)

karolisk

  • Participant
  • Joined in 2009
  • *
  • Posts: 5
    • View Profile
    • Donate to Member
searching folders with custom path
« on: December 30, 2011, 07:55:36 AM »
hi there,

I have a projects folder which has a certain structure (which I can't control). So it's something like:
"/projects/[some name]/[project number][some random text]/static text1/static text2/"

now, what I need is that when I enter [project number] folder 'static text2' to pop up.

I tried using Aliases, but they don't allow to enter real regular expression in Results to filter '[some random text]'.
I checked search directory, but options doesn't seem to fit for this case.

Is this something possible to achieve?

thanks in advance,
karolis

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: searching folders with custom path
« Reply #1 on: December 30, 2011, 08:19:09 AM »
Yes I think it can be very easily done
We’ll just put some bleachers out in the sun, and then make an alias like this:
Screenshot - 12_30_2011 , 8_17_57 AM.png

Now when you type something like "bdi new"
it will show the contents of E:\MyDownloads\new

Modify for your needs.

karolisk

  • Participant
  • Joined in 2009
  • *
  • Posts: 5
    • View Profile
    • Donate to Member
Re: searching folders with custom path
« Reply #2 on: December 30, 2011, 09:00:58 AM »
ok, I my case if I search in something like this:
"/projects/[some name]/[project number][some random text]/static text1/static text2/"

I would write:
"dosearch $$1[some random text]/static text1/static text2/"
but what should i replace random text part (which is different for every project and I know only number in advance) with?