Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Possibly a duplicate of… – pesche May 18 '15 at 12:01

There is no equivalent in Windows, but you can try one of these two substitutes: (Click on "Download:")

or this guy created a script too:

share|improve this answer
I just found this, which also had another answer, not accepted, but with a +50 score:… – KCotreau Jul 20 '11 at 19:24

There are several possibilities that you can choose from:

share|improve this answer

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

share|improve this answer

This is actually answered on SE, in great detail:

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

share|improve this answer

You must log in to answer this question.

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