Which Introduce unix and linux “which” equivalent command on windows source from http://stackoverflow.com/a/3454538 Usage copy which.exe to somewhere in your PATH; run: which <filename> for example which ruby