which1.0.0
A Windows 'which' command that locates executables on the PATH.
v1.0.0
133.0 KBscanned clean
Verify your download
Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.
About
which reports the executable that Windows would resolve for a command, bringing the Unix which command’s behavior to the Windows command line. It reads the PATH environment variable as semicolon-separated directories, removes repeated PATH entries, and searches each directory for matches. By default, it prints the first match in PATH order, while -a or --all displays every matching instance.
Extension handling follows PATHEXT, so an extensionless query can match files such as git.exe, git.cmd, git.bat, and git.com; if PATHEXT is unavailable, .COM is used as its fallback. It also recognizes extensionless files with the exact requested name, including shell scripts, and accepts several command names in one invocation. Matches appear in green, not-found results in red, and separators in cyan, with meaningful exit codes for scripts. Color output is disabled when results are redirected to a file or pipe, when NO_COLOR is set, or when --no-color is supplied.
Published by Allan K. Koech, version 1.0.0 is open-source software for Windows 10 and newer, provided for x64 systems. Windows 10 or later supplies the console support used for ANSI colors, while source builds require CMake 3.16 or newer, Git, and a C++20 compiler; MinGW GCC 13 and MSVC are tested, and CMake fetches the argparse dependency automatically. It suits developers, administrators, and anyone diagnosing PATH conflicts or verifying which executable a script or shell command will invoke.
Architecture: x64
Details
SHA-256
Does this still work for you?
Badge for your website
Developers can show that which is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.
<a href="https://mirrornest.com/software/which-c79a8b9e"><img src="https://mirrornest.com/badge/which-c79a8b9e.svg" alt="which on MirrorNest" height="20"></a>[](https://mirrornest.com/software/which-c79a8b9e)Reviews
No reviews yet — be the first.
which alternatives
VectorCraft
Vector illustration; an open-source, clean-room reimplementation of Adobe Illustrator, rebuilt in pure Rust
Hysteria
A powerful, lightning fast and censorship resistant proxy.
dotMemory Unit Standalone Launcher
Effective memory usage in .NET applications with dotMemory Unit
GamebarHandler
Gets rid of those pesky 'open ms-gamebar' and 'open ms-gamingoverlay' popups.
ShareX
ShareX is a free and open-source application that enables users to capture or record any area of their screen with a single keystroke. It also supports uploading images, text, and various file types to a wide range of destinations.
cerebro-es (Install)
elasticsearch web admin tool