Title says it all. I'm working on a build to push out to computers around my campus and we'd like to have stuff put on the taskbar as part of the build. I found a .bat file on this site that was used for a similar question but it seems to be outdated as it only results in multiple errors when I try to run it on my computer.
Asked
Active
Viewed 2,301 times
0
-
I wrote this a few months ago, it's not as easy as I wish it was to do. https://superuser.com/questions/1193985/command-line-code-to-pin-program-to-taskbar-windows-10/1194016#1194016 – Narzard Jul 17 '17 at 14:05
2 Answers
0
I found this post: http://joseespitia.com/2016/05/13/how-to-programmatically-pin-icons-in-windows-10, which linked to this program: http://www.technosys.net/products/utils/pintotaskbar.
I personally didn't try it, but it looks credible.
Hope you'll find it useful.
Catalyst
- 1,077
- 1
- 7
- 11
0
Unfortunately there is no way doing this with plain batch commands, but you can do this by either using VBScript or PowerShell scripts. Both of them are shipped with Windows by default.
Sector
- 1
- 4
-
a batch file can create a vbscript and then run it using cscript.exe, so in theory it i spossible. – LPChip Jul 17 '17 at 14:30
-
@LPChip In fact you are right, but by this argumentation you can also write, compile and execute C++ or any other pl code. – Sector Jul 17 '17 at 14:45
-
1