Page 1 of 1

Retrieve Meta for LNK - how?

Posted: 29 Jun 2015 05:20
by SkyFrontier
Hello people.

How can I retrieve the meta info from lnk files? Mainly, the full path (name+path) as Meta pane displays it?
I just keep getting "<item not found: ...lnk>" messages, even if the item exists at final destination.

Re: Retrieve Meta for LNK - how?

Posted: 29 Jun 2015 06:50
by bdeshi

Code: Select all

 $itm = <curitem>; //ze item
 if (gpc($itm,'ext') == 'lnk'){$itm = property('#ShortcutTarget', $itm);}
 echo $itm;
??

Re: Retrieve Meta for LNK - how?

Posted: 29 Jun 2015 09:52
by SkyFrontier
It worked, thanks!