Greetings, Gary Johnson! > I wrote a batch file and a shell script to implement a Run Bash Here > feature from the Windows file manager "Send to" context menu, much > like chere but without having to mess with the registry. The > hardest part was getting the quoting in the run command line right > so that both cmd and bash were happy. The files are included > in-line below.
That's overengineered. > ------------------------ run_bash_here.bat ------------------------- > -------------------------------------------------------------------- Replace it all with this "bash-here.cmd" placed in /bin : @START "" /D "%~1" "%~dp0\mintty.exe" > ------------------------- run_bash_here.sh ------------------------- > -------------------------------------------------------------------- This all is just not needed. Just create a shortcut in "Sent to" to your bash-here.cmd - job done, reap the rewards. -- WBR, Andrey Repin (anrdae...@yandex.ru) 09.09.2014, <2:39> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple