4

Can you please tell me what is Windows XP equivalent of “which” command in Linux? I have tired 'where', but it does not work on Windows XP.

1

4 Answers 4

1

There is no equivalent in Windows, but you can try one of these two substitutes:

http://nedbatchelder.com/code/utilities/wh_py.html (Click on "Download: wh.py")

or this guy created a script too:

http://pankaj-k.net/weblog/2004/11/equivalent_of_which_in_windows.html

1
1

There are several possibilities that you can choose from:

0

A bit overkill, but for completeness: Cygwin will give you which on Windows.

0

This is actually answered on SE, in great detail:

https://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-windows

Maybe it should be merged to Superuser, instead marked off topic on that site.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .