jorgecarpio/which
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a ruby script written to emulate the UNIX command which. For use on Windows (since it doesn't have this command by default) which - shows the full path of commands OPTIONS first parameter: command to search without extension (i.e. "which ruby") - .exe suffix is automatically added if omitted second parameter (optional): -deep (i.e. "which irb -deep") - used if extension unknown and not found using regular search - will cycle through all executable command using PATHEXT variable. - no need to add (or guess) extension for commands to search for NOTES if command is in multiple locations all will be returned