DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Alias and relative paths possible bug  (Read 5,004 times)

Rochey

  • Participant
  • Joined in 2008
  • *
  • Posts: 8
Alias and relative paths possible bug
« on: July 11, 2008, 11: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.donationcoder.com/forum/index.php?topic=13567.0

Cheers

Rochey

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Alias and relative paths possible bug
« Reply #1 on: July 11, 2008, 11: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%

Rochey

  • Participant
  • Joined in 2008
  • *
  • Posts: 8
Re: Alias and relative paths possible bug
« Reply #2 on: July 11, 2008, 11: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

Original address: https://www.donationcoder.com/forum/index.php?topic=14021.0