Shortcut to batch file cannot be pinned to Win10 Start menu

16

2

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?

Alex F

Posted 2018-01-29T10:04:48.703

Reputation: 475

1

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

– User552853 – 2018-01-29T10:26:53.640

Answers

22

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

User552853

Posted 2018-01-29T10:04:48.703

Reputation: 1 556

3On 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 – 2018-03-08T20:28:16.603

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.

rgraphix

Posted 2018-01-29T10:04:48.703

Reputation: 11

1Could you add the name of the contributor you are referring to? – Daniel K – 2019-05-30T17:48:07.563

1

  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

V.7

Posted 2018-01-29T10:04:48.703

Reputation: 140