Is it possible to change a pinned icon in windows 7?

Solution 1:

Is it possible to change a pinned icon in windows 7?"

To change a shortcuts icon that is pinned to the taskbar can be done indirectly... The easiest method I've found is to drag it to desktop, unpin it, modify it, re-pin it.

I have a couple of command prompts that start with different environment variables and a couple of applications with the generic "Application Icon", is there any way to give them different icons?

If you have a shortcut for each of the command prompts each of them can have there own individual icon. Right Click properties, change icon, select an ico or exe file, or create an ico and hunt down it.

Also is there anyway to pin a shortcut to the taskbar?

Right Click > Pin to Taskbar (from startup menu) otherwise just drag it there.

Try Ctrl + Shift + RightClick to get to properties but visual changes to the icon are not updated even after reboot. I guess that it is cached somewhere. I'll let someone more knowledgeable jump in and that facet answer.

Sorry, I fumbled the answer at first. Have I answered your questions; or would you like me to expand or rephrase anything.

Solution 2:

How about making a batch file for each? Then Windows won't know what the batch file is and won't keep you from having the two icons pinned at the same time. For example comspec1.cmd and comspec2.cmd.