Welcome Guest.   Make a donation to an author on the site November 27, 2014, 11:19:19 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Help with alias needed  (Read 1820 times)
4wd
Supporting Member
**
Posts: 3,450



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« 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.donationcoder....ic=8281.msg66910#msg66910 using Index Your Files instead, (http://www.indexyourfiles.com/).

[copy or print]
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.

Thanks

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 » Logged

I do not need to control my anger ... people just need to stop pissing me off!
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.022s | Server load: 0.13 ]