To determine the version of Internet Explorer from a command prompt without having to run the program, you can enter the command
reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer" /v
version | find "version"
at the command line:
C:\>reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer" /v vers ion | find "version" version REG_SZ 9.0.8112.16421