Windows – How to make Cygwin shortcut stick to Windows 7 dock

cygwin;docktaskbarwindows 7

I have recently installed Cygwin on a Windows 7 beta machine. Everything works great, except one little annoyance:

The Cygwin shortcut (Start->All Programs->Cygwin->Cygwin Bash Shell) cannot be pinned to the Start menu. My guess as to why is that I already have a "Console" window pinned to the start menu. My guess is that Windows sees that the two EXEs are the same and won't let me pin it.

This would be fine except I cannot pin the window to the Dock either. While Cygwin is running, WIndows interprets it as just a Command Window and won't let me pin it either.

How do you pin the Cygwin shortcut to the dock?

Best Answer

I just created a shortcut to "E:\cygwin\bin\bash.exe --login -i" on my desktop, ran that, and then pinned the resultant process to the task bar, and it seems to have worked.