how to find the location of a windows command code example Example: how to locate exe on cmd C:\> where ping