Windows equivalent of whereis?
On the command line in Windows you can type the name of an executable (ex. ipconfig) and it will look attempt to resolve the path to that executable by looking for it in the folders specified in your PATH environment setting.
I'm wondering how to find out where Windows found the executable. In my example, I want to know where it found and executed 'ipconfig' from.
Is there a command to find this out? Something like 'resolve ipconfig' and it would return 'C:\windows\system32\ipconfig.exe'?