Saturday, December 5, 2009

whereis in windows

The *nix whereis command is very useful at times and helps you find where a given executable is located in the path.Here is a one written in python which can be easily used on windows

Copy the below code into a file called whereis.bat.Add the path where whereis.bat is kept to your windowds PATH variable



Copy the below code in whereis.py and keep it somewhere on your local file system

1 comment:

dnewcome said...

There is already a Windows command called 'where' that does what *nix 'whereis' does.