Thursday, September 10, 2009

Pin BAT and CMD files to Windows 7 Taskbar

You may have noticed that when you drag a BAT or CMD file to the taskbar, you aren't able to pin it. The only option you have is to pin it to the list of an existing EXE item.

There is a workaround! Fear not!

  1. Right click on the desktop (or anywhere really) and hit new->shortcut.
  2. Type the following into the box (sans single quotes) 'cmd /c "path-to-your-bat-file"'.
  3. Change shortcut name/icon accordingly.
  4. Profit.

1 comment: