For a new "Command Prompt here", simply create a shortcut in %USERPROFILE%\SendTo
Code:
C:\WINDOWS\system32\cmd.exe /k chdir
Simple huh?
Makes you wonder what's in the 514Kbyte CmdHerePowertoySetup.exe from Microsoft doesn't it?

This got me thinking, like how nice it would be if I could do the same with a cygwin BASH window as well. This is what I mananged to create...

For a cygwin "BASH Prompt here", create a shortcut like this in %USERPROFILE%\SendTo
Code:
C:\cygwin\home\%USERNAME%\bin\cyghere.cmd
It doesn't matter where you save this, it's just where I saved it.

Code:
@echo off
:: This is cyghere.cmd
::
:: change directory to the required target
chdir /d %*
:: get the cygwin version of that path into an environment variable
for /f "usebackq delims=" %%i in (`c:\cygwin\bin\pwd`) do set zog=%%i
:: launch cygwin BASH
c:\cygwin\cygwin.bat
Add the following lines to ~/.bashrc
Code:
# if run via "Start here", then goto that directory
if [ "$ZOG" != "" ]; then
  cd "$ZOG"
fi
I've only tested with XP, but it should work with Win2K. Anything else, you're on your own.

Now the problem.
When starting cygwin normally, the program icon and the taskbar icon contain the distinctive cygwin "C" icon with the green flash. However, launching it via this "send to" method results in an application running with the dull and boring windows cmd.exe icon.

Is there anything which can be done to get the cygwin icon back when invoking cygwin via this method?