Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Not what you're asking, but maybe a "Cygwin here" context menu in Windows Explorer is even better. See the screenshot at (though you might want to search Google if a Windows 7 specific solution exists). – Arjan Oct 21 '09 at 8:36
up vote 16 down vote accepted

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.

share|improve this answer
Does cygwin acutally start when you run it. Do you already have a "Command Line" on your Dock? Are you using a version > beta? – Frank Krueger Oct 22 '09 at 2:15
Yes, it runs, yes, there was already a "Command Line" on the dock, and it's Win7 RTM. Is this method not working for you? – Drakia Oct 22 '09 at 5:29
Works great now. Very funny, but you're right. This hand-created shortcut works fine. – Frank Krueger Oct 22 '09 at 23:13

You could use mintty, which aside from being easily pinnable has lots of other advantages over the console, e.g. free resizing and standard copy&paste. To be found under 'Shells' in Cygwin's setup.exe.

share|improve this answer

You should be able to make a shortcut on the desktop for your program, and then drag THAT shortcut to the taskbar.

Edit: After playing around, I was seeing the same issue.


Windows 7 Center provides us with a way to "pin any item to the taskbar" using a registry hack.

share|improve this answer

Prepending cmd /c to the Target of of the link also did it.

share|improve this answer

You must log in to answer this question.

protected by studiohack May 3 '11 at 10:11

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .