Answer the question
In order to leave comments, you need to log in
How to programmatically pin a shortcut to the taskbar under Windows 10?
There is a task - to fix the shortcut in the taskbar.
Under Win7, the solution is quite simple:
ShellExecute(NULL, L"taskbarpin", pathToLnk, NULL, NULL, 0);
Answer the question
In order to leave comments, you need to log in
Rubric asked himself - answered himself.
In short: under the current Win10 - no way. SyavaSyava is right.
And now in more detail:
I checked the Amiga under a virtual machine, I rolled the OS there and, of course, did not bother with updates. And there amigo fixes labels. So does chromium, and chrome, and even my code using ShellExecute taskbarpin.
Still, as an option, some powershell recommend.
And MS blocked this possibility with the next update. With what, unfortunately, I will not say - it's lazy to search.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question