How can I create a shortcut, specifically in SendTo
(i.e. not on the right-click context menu itself) that opens git-bash.exe
in a folder I have right-clicked on. There is this very good answer for the context menu itself, but I don't want to clutter up my context menu with too many things that I don't use too often, so SendTo has become quite useful for me (after I delete all of the junk that Microsoft puts in there like 'Send to Bluetooth Device', and 'Send to Fax Machine' etc that no one ever uses). I've tried variations of .lnk
in shell:sendto
based on the above context menu answer like C:\Program Files\GitPortable\git-bash.exe --cd=%1
but no luck so far.
This link was suggested and I've painstakingly gone through every option there and none of them work for this. It sounds like this should be something simple with a simple solution (some combination of arguments in the Target field, and the --cd
switch is almost certainly involved) but, so far, I have not found the secret sauce to make this work.