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 path to a program on the Windows command line, given just its name.
(由于我有时遇到路径问题,其中一个我自己的cmd脚本被另一个程序隐藏(阴影)(在路径的前面),我希望能够在Windows命令行上找到程序的完整路径,给定只是它的名字。)
Is there an equivalent to the UNIX command 'which'?
(有没有相当于UNIX命令'哪个'?)
On UNIX, which command
prints the full path of the given command to easily find and repair these shadowing problems.
(在UNIX上, which command
打印给定命令的完整路径,以便轻松查找和修复这些阴影问题。)
ask by namin translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…