How to get path for dynamic shortcut?

Hello,
I’m having an issue with starting one specific application. It is internally used program, that changes it’s path every time it’s updated (stored in new folder after new version released). So I’m trying to get the path from a shortcut on desktop, but am struggling with this. Maybe someone is having similar problem?

Hi @GOFERIS_Edgaras

Welcome to UiPath community

You can try with Start process activity

Could you share us some screenshot how it will changes the folder if any update?

Regards
Gokul

1 Like

Thank you! I was sooo much overthinking this, that I forgot there is this simple way to do it.

Thanks a lot!

Great @GOFERIS_Edgaras

Happy Automation

Regards
Gokul

Well I guess I celebrated too early… Both activities are not opening the shortcut, but having direct path to application folder and will work only until another update, because after that there will be new path.

Hi @GOFERIS_Edgaras

Can you share us the folder screen shot?

Do you know why it will have different path if any update?

Regards
Gokul

Hi,
If I understand this correctly, you will always have the shortcut with correct path on the desktop, right?
If so and you need to open the app, then I think you could do this the UI way. Just use the Classic click activity on the desktop shortcut. It is not the most graceful way, but it should get the job done. I tried and it worked for me.

1 Like

Developers said that there is “ClickOnce” design used for this application new releases, so with every update it is new folder created. Maybe it’s for ability to roll back quickly, I don’t know.

Hi, @FilipG ,
Yes, you understand correnctly, shortcut on desktop always has the correct path.
Thank you, I tried it and looks like everything is working perfectly.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.