Which for Windows


Which: show the full path of (shell) commands

Version

2.19

Description

Which takes one or more arguments. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH using the same algorithm as bash.

The GnuWin32 port of Which searches for a matching file in the following directories in the following sequence:

If the filename given on the command line cannot be found in any of the above directories, the search is repeated with the extensions given in the environment variable PATHEXT until a match occurs. If PATHEXT is empty or does not exist, a value of ".com;.exe;.bat;.cmd" is assumed.

Homepage

http://www.xs4all.nl/~carlo17/which

Sources: http://ftp.gnu.org/gnu/which

Download

 
DescriptionDownloadSizeLast changeMd5sum
• Complete package, except sources Setup  531846  9 February 2008  2cee9841f16532f1043ad8ce5bf0e894
• Sources Setup  424468  9 February 2008  7e32b59739ccd17be2d6508269afe1f2
 
• Binaries Zip  42038  9 February 2008  7cd6ab3e051fb4906d81bd8ea5b88cdd
• Documentation Zip  209299  8 February 2008  e94cd2a567f242d85fc6bb43a64d4088
• Sources Zip  222470  9 February 2008  533336ff3e017cb36fec2234db8efae2
• Original sourcehttp://ftp.gnu.org/gnu/which/which-2.19.tar.gz

You can also download the files from the GnuWin32 files page. New releases of the port of this package can be monitored.

Installation, Usage and Help

General Installation Instructions

GnuWin32 Help (feature requests, bugs, etc)

Requirements

which,2.19,gnu,win32,win32s,win64,gnuwin32,i386,ia64,x86-64, gnuwin64,gnuwin,mswindows,ms-windows,windows,95,98,me,nt,2000,2k,xp,2003,vista