Program path changes with new versions
Hi,
I am using WinSCP from the Microsoft Store in a script. The path given in the app seems to change whenever there is an update. So, recently it changed from
This is a problem when it used in a script as you need to keep changing the script.
Is there a way around this so that the path remains constant?
Thanks for any help!
I am using WinSCP from the Microsoft Store in a script. The path given in the app seems to change whenever there is an update. So, recently it changed from
...MartinPikryl.WinSCP_5.21.5.0_x86...
to ...MartinPikryl.WinSCP_5.21.6.0_x86...
This is a problem when it used in a script as you need to keep changing the script.
Is there a way around this so that the path remains constant?
Thanks for any help!