WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: jimklein on August 05, 2013, 08:58:25 AM

Title: Winbatch to find IE version
Post by: jimklein on August 05, 2013, 08:58:25 AM
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
Title: Re: Winbatch to find IE version
Post by: td on August 05, 2013, 01:38:54 PM
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]'
Title: Re: Winbatch to find IE version
Post by: td on August 05, 2013, 02:10:11 PM
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)