Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

If you have shortcut to cmd.exe in start menu/programs folder and this shortcut has altered icon - cmd.exe will have this icon regardless how it was launched - with shortcut or without. Particularly after msysgit's install creates "Git Bash.lnk" with git's icon and thus altering taskbar icon of every 32-bit console window in the system.

I understand that this question isn't specific to msysgit, but it was the way I faced with it.

The details is in the blogpost linked below:

The question is - why Windows behaves that way? Is there any reason to behave like that?

share|improve this question

I don't know why this works, but if you make a shortcut to cmd.exe in %appdata%\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar, its normal icon is what you will see in the taskbar. Another odd thing is that this doesn't cause it to be pinned to the taskbar. If you open cmd.exe and pin it, you'll wind up with a second shortcut in the same folder, named cmd.exe(2).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.