Home » Questions » Computers [ Ask a new question ]

How to pin either a Shortcut or a Batch file to the new Windows 7, 8 and 10 Taskbar and start menu?

How to pin either a Shortcut or a Batch file to the new Windows 7, 8 and 10 Taskbar and start menu?

We are having trouble adding our batch scripts to the Windows 7, 8 or 10 taskbar or start menu.

Asked by: Guest | Views: 113
Total answers/comments: 3
Guest [Entry]

"Create a shortcut to your batch file.
Get into shortcut property and change target to something like: cmd.exe /C ""path-to-your-batch"".
Simply drag your new shortcut to the taskbar. It should now be pinnable."
Guest [Entry]

"The folder for the Windows 7 taskbar is located at:

C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

The Start Menu folder is:

C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu

You can create a shortcut there and upon logging off and back on, it should appear.

Hope this helps.... There are other things I should caution you about, for example, they can right click and edit the batch file - so, you may want to look at NTFS permissions for locking down the file."
Guest [Entry]

"In my case, none of these solutions got it to 100%. They were close, but on the latest windows 10 these are the steps that I had to follow:

1. Rename .bat to .exe
2. Right click .exe => Pin To Start
3. Right click .exe => Rename to .bat
4. Right click taskbar/start menu item => More => Open File Location
5. Right click the shortcut => Change target from .exe to .bat

Done!"
"In my case, none of these solutions got it to 100%. They were close, but on the latest windows 10 these are the steps that I had to follow:

1. Rename .bat to .exe
2. Right click .exe => Pin To Start
3. Right click .exe => Rename to .bat
4. Right click taskbar/start menu item => More => Open File Location
5. Right click the shortcut => Change target from .exe to .bat

Done!"