It would be nice to return the output.
Fixed: On Windows, executables can be .exe, .cmd, and .bat.

This fix now finds one of these if possible and returns the amended path.