DonationCoder.com Forum

DonationCoder.com Software => Mouser's Zone => Find And Run Robot => Topic started by: Rochey on July 11, 2008, 06:02 AM

Title: Alias and relative paths possible bug
Post by: Rochey on July 11, 2008, 06: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;

https://www.donationcoder.com/forum/index.php?topic=13567.0

Cheers

Rochey
Title: Re: Alias and relative paths possible bug
Post by: mouser on July 11, 2008, 06:04 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%
Title: Re: Alias and relative paths possible bug
Post by: Rochey on July 11, 2008, 06:18 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