As I sometimes have path problems, where one of my own cmd scripts is hidden (shadowed) by another program (earlier on the path), I would like to be able to find the full pa
I have used the which
module from npm for quite a while, and it works very well: https://www.npmjs.com/package/which
It is a great multi platform alternative.
Now I switched to the which
that comes with Git. Just add to your path the /usr/bin
path from Git, which is usually at C:\Program Files\Git\usr\bin\which.exe
. The which
binary will be at C:\Program Files\Git\usr\bin\which.exe
. It is faster and also works as expected.