36

Right-click on the batch file shortcut (as well as batch file itself). Context menu doesn't contain "Pin to Start" command. Is there any way to pin batch file to Windows 10 start menu?

0
47

After you create the shortcut go to Properties and in the Target field add cmd /c "path", then you can pin it.

enter image description here

3
  • 4
    On my system, after I create the shortcut, I don't see "Pin to Taskbar." But I do see "Pin to Start." I can select that and then right-click on it in the Start panel, and in "More >" there is "Pin to Taskbar." – vknowles Mar 8 '18 at 20:28
  • upvoted as this works. Can you explain how to pin to taskbar? – Kalamalka Kid Jul 3 '20 at 2:54
  • @KalamalkaKid You should also have "Pin to taskbar" in the right click menu. – User552853 Jul 6 '20 at 7:18
2
  1. Create directory C:\Users\%user%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Custom(where %user% is user's login).
  2. Create a shortcut to your batch/executable file in that directory
    2.1. (optional) Wait for 5-20 seconds so filesystem could update
  3. Open Start Menu
  4. Search for this shortcut using Start Menu
  5. Right click on result and press Pin to Start
1

Update: I used the suggestion above and Windows 10 force modified my path to C:\Windows\System32\cmd.exe /c" C:\pathto\batch.bat". This works for me.

1
  • 1
    Could you add the name of the contributor you are referring to? – Daniel K May 30 '19 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.