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

avatar image

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

Login with username, password and session length
  • December 01, 2015, 09:19:22 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: Help with alias needed  (Read 1976 times)


  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,100
    • View Profile
    • Read more about this member.
    • Donate to Member
Help with alias needed
« on: December 25, 2007, 05:56:41 AM »
Hi folks, I'm having trouble trying to get an alias to work.

It's basically a modification of lanux128's locate32 alias, http://www.donationc...81.msg66910#msg66910 using Index Your Files instead, (http://www.indexyourfiles.com/).

1000>>>IYF>->iyf $$1 Local|C:\PortableApps\FileUtils\iyf-x\iyf-x.exe --databases:Local --files:$$1>n>iyf $$1 in database $$2|C:\PortableApps\FileUtils\iyf-x\iyf-x.exe --databases:$$2 --files:$$1>+>^iyf (?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)

The first works fine where it searches in the database 'Local', but the second just doesn't seem to accept a database as an argument, it always defaults back to 'Local'.

i.e. I have two databases, 'Local' and 'Network'.

     'iyf posters network' should do: iyf-x.exe --databases:network --files:posters  (this works from a CLI BTW).

     But it just defaults to whatever database(s) used in the last search, (usually Local).

Can anyone point out what I've done wrong or what I need to do to get the second alias working.


EDIT: AAARRRGGGHHHH!!!!!!!!!!!!!! Forget about it, my brain has obviously taken leave of my body.......thought it would automatically use the second alias when there was more than 1 argument...........too much Christmas cheer methinks...........
« Last Edit: January 01, 2008, 05:08:47 AM by 4wd »