Which 'which' is which?

One of my favorite utilities on *nix is the utility ‘which’. The only thing which does is take in a command name, and print out the path to that command.

Why doesn’t windows have a utility like that? You can save all your ‘the windows command prompt isn’t a real shell’ talk. I would be happy with a ‘which’ command. I hate having to perform a search on my hard drive just to find a damn .exe file that’s somehow in my path.

Really makes me yern for the days when I was a *nix admin…. oh well…