Rules "target contains" not working

I have two fences.  I have made successful rules to move shortcuts between fences, but I am stuck on one type: "Links whose target contains" isn't working.

All new shortcuts go to Main, and if they meet criteria, they should be moved to Games, but they don't.

Example .lnk file:







It does not move.  If I create a rule based on the name of the shortcut itself (i.e. Plants) it moves just fine.

Version 6.20, please help.

1,751 views 5 replies
Reply #1 Top

Hello,
I have forwarded your problem/question to Stardock Support Team for their assistance. Please keep an eye on this thread for any updates. We appreciate your feedback and patience. Thank you.

Basj,
Stardock Community Assistant

Reply #2 Top

We weren't able to reproduce – or rather, we were able to verify it works. Created a link to a VBS file, used part of the path in a rule as you have it there and turned on "Keep rules applied", and it moved it as expected.

Might you be able to share that link file?

Reply #3 Top

Hopefully this works.

https://drive.google.com/file/d/1Vfgqon94KkwoYiuT4W4uGW19HLYRdkl2/view?usp=sharing

Reply #4 Top

Thanks Litcube, we're looking into it but can confirm that that specific file, when using Windows' link parsing libraries (IShellLink), returns empty for the target. Going to the target file and creating a new link, adjusting the title and icon created a link file that worked fine. But using that specific one you sent returns empty from IShellLink. So, we'll have to see if there's anything we can do. Just giving you the update

 

It seems we were able to get the file to fix itself when we changed the path in any way. For instance, changing the target to this:

C:\Games\Playnite\ExtensionsData\8e48a544-3c67-41f8-9aa0-465627380ec8\.launchScripts\\9d3d83f5-b9a5-454e-9ed0-cf276abaab02.vbs

Seems like that rebuilds the file.

 

I'm wondering if something funky going on with how Playnite builds its shortcuts, that Windows has an internal shim for to cope but that's not applied to everyone else.

Reply #5 Top

Very interesting!  Thanks for digging into it!