Winbatch to find IE version

Started by jimklein, August 05, 2013, 08:58:25 AM

Previous topic - Next topic

jimklein

Seems silly - But I cannot find the main iexplore.exe so I can figure out what IE version is loaded on computers.
Or - is there a better way.

Thanks!,
Jim

td

On newer versions of Windows IE is usually located in 'C:\Program Files (x86)\Internet Explorer' or 'C:\Program Files\Internet Explorer'

The easiest method may be to use the WinBatch registry functions to check the registry value

'HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer[version]'
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

td

This should work on any version of the OS WinBatch supports.

Code (winbatch) Select

strIeVer = RegQueryValue(@REGMACHINE, 'Software\Microsoft\Internet Explorer[version]')
Message("IE Version", strIeVer)
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade