That’s because echo
is not an external executable command (i.e., there is no echo.exe
file on your hard disk, unless you put it there yourself). It’s an internal command of the shell.
You’ll probably find that you need to execute something like:
cmd.exe /c echo hello