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 05, 2016, 10:38:08 AM
  • 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: Alias and relative paths possible bug  (Read 2154 times)

Rochey

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Alias and relative paths possible bug
« on: July 11, 2008, 06:02:02 AM »
Hi mouser,

I've just imported Kartal's alias's for scanfs and was having trouble getting it to work. But I found the problem was with me trying to use a relative path in the alias as oppose to use the full path. Is this a possible bug? or do alias's only use full paths?
Here's a link to the thread;

http://www.donationc...ex.php?topic=13567.0

Cheers

Rochey

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: Alias and relative paths possible bug
« Reply #1 on: July 11, 2008, 06:04:45 AM »
Hi Rochey,

First of all thank you for posting about how you got it working and asking the question, since it's a good one and not an obvious answer.  So it's useful for others to read about.

To refer to RELATIVE locations, use some of the farr virtual folders listed in the help file like:
%FARRDIR% or %ALIASDIR%

Rochey

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Alias and relative paths possible bug
« Reply #2 on: July 11, 2008, 06:18:40 AM »
Thanks for the quick reply mouser. And (as you obviously know) that works like a treat. my new alias is;

1000>>>scanfs>->scanfs $$1 $$2 | %FARRDIR%\plugins\Saleen Software\scanfs.exe path=$$1 file=$$2>+>^scanfs (\S*) (.*)

instead of;

1000>>>scanfs>->scanfs $$1 $$2 | Z:\portableapps\findandrunrobot\plugins\Saleen Software\scanfs.exe path=$$1 file=$$2>+>^scanfs (\S*) (.*)

Thanks again.

Rochey