Is there an equivalent of 'which' on the Windows command line?

后端 未结 26 2113
悲哀的现实
悲哀的现实 2020-11-22 00:40

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

26条回答
  •  别那么骄傲
    2020-11-22 00:54

    Go get unxutils from here: http://sourceforge.net/projects/unxutils/

    gold on windows platforms, puts all the nice unix utilities on a standard windows DOS. Been using it for years.

    It has a 'which' included. Note that it's case sensitive though.

    NB: to install it explode the zip somewhere and add ...\UnxUtils\usr\local\wbin\ to your system path env variable.

提交回复
热议问题