MC has a MultiScript function GetWinShortcutTarget(). So the simplest multiscript UDC could look like:
@var $lnk = GetSourceFocusPath();
@var $path = GetWinShortcutTarget( $lnk );
MC.Explorer.Goto SOURCE="{$path}";
Thanks a lot, appreciate it !! That works brilliantly !
Using it in "Custom Context Menu" after creating an UDC. I named it "Goto Actual FilePath Link" and used the filter *.lnk to work only on link files.
P.S: It also works on .qalnk files (QuickAdmin UAC-Bypass shortcut files) —that's an added bonus !!
P.P.S: Currently it doesn't work on Microsoft Store Apps shortcuts or DOSBox Games Launcher .lnk shortcuts (takes you to the DOSBox Games Launcher folder —maybe this is not a bug as it permeates through 3 different files when accessed.) Not that this is important, but thought I should let you know.