windows console find path to command code example Example: windows cmd find command path C:\> where ping