UNPKG

396 Bapplication/x-msdownloadView Raw
1@echo off
2REM Thanks to Jerold Scheulamn <http://www.windowsitpro.com/article/internet/jsi-tip-8332-how-can-i-use-the-command-line-to-determine-the-version-of-internet-explorer-that-is-installed->
3setlocal
4set qry=reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer" /v Version
5set fnd=findstr /I /L /C:"REG_SZ"
6for /f "Tokens=2*" %%u in ('%qry%^|%fnd%') do (
7 @echo %%v
8)
9endlocal
\No newline at end of file