In Linux there are the which and whereis commands showing you location of binaries included in $PATH
# which lsof /usr/bin/lsof
# whereis lsof
lsof: /usr/bin/lsof /usr/share/man/man8/lsof.8.gz
so question arises what is which / whereis command Linux commands Windows equivalent?
In older Windows Home / Server editions – e.g. – Windows XP, 2000, 2003 – there is no standard installed tool to show you location of windows %PATH% defined executables. However it is possible to add the WHERE command binary by installing Resource Kit tools for administrative tasks.
In Windows Vista / 7 / 8 (and presumably in future Windows releases), WHERE command is (will be) available by default