If I have a long and involved PATH and I type the name of some command, how do I find out where the EXE or BAT file actually lives. I thought TRUENAME did this but it's gone from XP and I'm not sure it did exactly what I want.
So I want to be able to type
WHEREIS "Obscure Tool.exe"
and I get:
C:\Program Files\Obscure Tools Limited\Obscure Tool\Obscure Tool.exe
when the folder C:\Program Files\Obscure Tools Limited\Obscure Tool\ is on my path. What is WHEREIS called, or can it be done with a batch file?
truenamedoes something else. – JdeBP Aug 27 '11 at 13:40