Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pin to start menu using a batch file (Windows 10)

I need to pin an executable into the new Windows 10 start menu (i.e. creating a tile).

I'm aware of PowerShell scripts that do the job, but I need some instructions to add at the end of an existing batch file (cmd) we already use for installing our applications.

The usual scripts (valid for Windows 8 and 8.1) simply don't work. How can I do this?

like image 225
user5232147 Avatar asked Aug 16 '15 11:08

user5232147


1 Answers

This is a kludge work around that Microsoft needs to fix, but it worked for me.

Temporary rename the .bat file to .exe. Then right click on the file name. It will give you the Pin to start option. Pin it to the start menu. It won't work, but there is an option open the file location. Select that and change the name back to .bat. Now it works.

like image 188
Rich Avatar answered Sep 19 '22 15:09

Rich