The tag has no wiki summary.

learn more… | top users | synonyms

19
votes
4answers
6k views

Powershell equivalent to unix `which` command?

Does powershell have an equivalent to the which command found in most (if not all) unix shells? There are a number of times I'd like to know the location of something I'm running from the command ...
8
votes
3answers
829 views

`which python` points to the python I want, but `python` runs the wrong version

I want to use python24 provided by ports, so I've installed it, and python_select -s shows that the version I want is indeed selected. Running which python gives /opt/local/bin/python, and running ...
2
votes
1answer
317 views

Accurate Windows equivalent of the Unix which(1) command [duplicate]

Possible Duplicate: Windows equivalent of whereis? It's easy enough to write a simple script that works like the which(1) command from unix, which searches for a given command along the ...
16
votes
3answers
6k views

What is Windows' equivalent of the “which” command in Unix? Is there an equivalent PowerShell command?

In Linux, we have the "which" command to find out the path of an executable. What is its Windows equivalent? Is there any PowerShell command for doing that?
1
vote
1answer
1k views

'which' equivalent in Windows [duplicate]

Possible Duplicate: Windows equivalent of whereis? For Linux/Mac I can use which to locate the file. What would be the equivalent to this command line tool of which?