[Windows Tip] Pin Batch (.BAT) Files to Taskbar and Start Menu

We know that we can pin applications, program shortcuts, etc to Windows Taskbar and Start Menu for quick and easy access but there are some limitations with this method. Windows doesn’t allow users to pin a few selected file formats such as .BAT, .CMD, etc. If you right-click on a batch (.BAT) file or .CMD file, you’ll not get pin to Taskbar or pin to Start Menu options.

Recently an AskVG reader “Karbi” contacted us regarding similar problem. He wanted to pin a shortcut of batch script to Taskbar but he was not able to pin it as he was not getting pin to Taskbar option in context menu.

So in this tutorial, we are going to share an easy workaround to pin batch files to Windows Taskbar and Start Menu. After following this tutorial, you’ll be able to get pin to Taskbar and pin to Start Menu options in batch file shortcut’s context menu.

Advertisement

So if you also want to pin a batch script file to Taskbar or Start Menu in Windows OS, check out following simple steps:

1. First of all create a shortcut of the batch (.BAT) file or .CMD file. Right-click on the batch file and select “Create shortcut” option. It’ll create a new shortcut of the batch file.

Create_Batch_File_Shortcut.png

2. Rename the shortcut to your desired name if you want.

Renaming_Batch_File_Shortcut.png

3. Now right-click on the shortcut and select Properties option.

Open_Batch_File_Shortcut_Properties.png

Advertisement

4. In “Target:” field add cmd /c in the beginning of the given string.

For example, if the Target field contains “E:\Downloads\Batch\Reset.bat” string, then add cmd /c before it so that the final string becomes cmd /c “E:\Downloads\Batch\Reset.bat”

Add_CMD_C_Parameter_Target_Shortcut.png

5. Now apply changes and right-click on the shortcut and you’ll get Pin to Taskbar and Pin to Start Menu options.

Pin_Batch_File_Taskbar_Start_Menu.png

NOTE: By adding cmd /c parameter to the target field, we are converting the batch file shortcut into a command prompt shortcut and the /c parameter is forcing command prompt window to close after executing the associated batch script.

Also Check:

Published in: Windows 10, Windows 7, Windows 8

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

  1. Can you help me put menu and start etc on to my windows 7tablet.they have never been on this tablet since I bought it.?

Leave a Comment

Your email address will not be published. Required fields are marked *

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.