Tuesday, November 8, 2011

How to pin a batch file to windows 7 taskbar

It looks like windows 7 only doesn't allow pin batch file to start menu and taskbar, here is a way to bypass:
  1. Create shortcut to your batch file, I use "C:\cygwin\Cygwin.bat" as an example.
  2. Get into shortcut property and change target to: "C:\Windows\System32\cmd.exe /C C:\cygwin\Cygwin.bat".
  3. Now right click on this shortcut, you should have "pin to taskbar" option, click on it, you are done.

No comments:

Post a Comment