Get the full path to a command (that exists) in the current Windows environment, similar to the POSIX 'which' command.
:: To find the full path to a command:
cmd /c where <program>
:: Example
:: C:\>cmd /c where ping
:: C:\Windows\System32\PING.EXE