How to tell the Windows version and Service Pack number
Posted by jpluimers on 2011/05/27
Sometimes you want to know the Windows Version and Service Pack number.
A GUI version is very simple: run winver.exe, it will give you dialogs like these ad the Microsoft Knowledge Base article 310104 explains.
A console version can be done in several different ways:
- wmic os get Caption, CSDVersion
uses the WMIC commandline tool to get you properties from the WMI Win32_OperatingSystem class - systeminfo | findstr /B /C:”OS Name” /C:”OS Version”
uses the systeminfo and findstr tools to get you various properties from your OS.
–jeroen
via: [WayBack] windows command line: can I tell Service pack number? – Super User.






Batch file to detect Windows version number « The Wiert Corner – irregular stream of Wiert stuff said
[…] output from SYSTEMINFO, but forget that there many Windows installations are not English. Some even use WMIC, but WMIC is only available for administrators and not available some flavours like XP […]