Quick Tip: Cygwin here shortcut, Explorer here shortcut

This post has been moved to the archive, which means it may well contain embarrasing stupidity, poor or dated information, or maybe just useless ramblings.

Thanks to this mailing list post I now have a ‘Bash here’ option in my windows explorer context menu for folders and drives. Simply add this registry script to the windows registry.

Thanks to my self and this little script, I can open a ‘windows explorer window here’ from within cygwin.

#! /bin/bash
PWD=`pwd`
PATH=`cygpath -w $PWD`
/cygdrive/c/WINDOWS/explorer.exe $PATH

About

Photo of Dave Marshall

Dave Marshall is a Software Engineer living near Hull, England. He works on various personal projects and is the Technical Manager at Childcare.co.uk

Dave specialises in web application development for the LAMP stack, but always tries to choose a tool set that is most fit for purpose.

Dave is a Zend Certified Engineer and a Member of the British Computer Soceity.

Read more about Dave

Follow Dave: