windows command get path of command code example Example: windows cmd find command path C:\> where ping