List executables in path on Windows

cmd, command-line, windows

Solution

where *.exe

for any other executable you should change the extension, such as .bat, .run. But there is a point here, `where` also searches the current directory, so if you want only the executables in $PATH, you should run it in an empty directory or exclude the results by hand or script.

Problem

On Windows, how can I list which executables are in my path?

Original source