Find Program or DLL Location and Version
WHICHCMD [-a] filename
This program displays the location and version of the program or DLL which would be loaded by Windows if started from the command session and folder in which you run WHICHCMD. It can sometimes reveal the cause of obscure errors caused by accidentally using the wrong program or DLL version.
The filename parameter must contain the file extension .EXE or .DLL. The optional -a parameter causes the program to display all the versions found, of which the first would be the one loaded.
Examples:
Finding the active version of the Dialogic Diva driver file:
WHICHCMD DSSDK.DLL
displays:
2007/03/22 13:01:32 778240 C:\WINDOWS\system32\dssdk.dll [4.5.0.858]
Finding the active version of the CopiaFacts engine:
WHICHCMD COPIAFACTS.EXE
displays:
2008/01/03 21:37:10 1400016 C:\Program Files\Copia\COPIAFACTS.exe [7.228.0.0]
Topic url: http://www.copia.com/support/refmanual/index.html?whichcmd.htm