In Windows 8 you can right click on an .exe file or a folder and one of the options is "Pin to Start" which does exactly what it says.

This unfortunately doesn't work for .bat scripts. There is no "Pin to Start" option if you right click on a .bat file. Nor such option exists for shortcuts to .bat files.

This is how I managed to pin a bat file to Start screen. This method can also be used to Pin other types of files.

  1. Navigate to %appdata%\Microsoft\Windows\Start Menu\Programs
  2. Create a shortcut to your .bat script and rename it to how you want it to appear on start screen, i.e. My Script
  3. Optional - change shortcut icon if you wish
  4. Go to the Start Screen and search for the name you gave to your shortcut in step 2
    Windows 8 Search
  5. Select "My Script" and click on "Pin to Start"
    Pin to Start in Windows 8

Update:

Few people in the comments mentioned that above method doesn't work if you want to pin a .bat file to the Windows Taskbar. Here is another method that works for both Start Screen and Taskbar.

  1. Right click on your Desktop and choose New > Shortcut
  2. In the Type the location of the item field enter:
    cmd.exe /c "path\to\script.bat"
    Replace path\to\script.bat with actual path to your .bat file.
  3. Click Next, name the shortcut and click Finish.
  4. To Pin the .bat file to the Start Screen, right click the new shortcut and choose Pin to Start.
  5. To Pin the .bat file to the Taskbar, simply drag the shortcut to your Windows Taskbar.

No comments

Leave your comment

In reply to Some User
Captcha Image