C ver. Microsoft Windows XP Version 5. This command does not show version on a Windows 7 system. As you can see above, ver command shows only OS version but not the service pack number. We can find service pack number as well with Systeminfocommand. Copy Directory Command Line Windows Vista' title='Copy Directory Command Line Windows Vista' />Systeminfo dumps lot of other information too, which we can filter out using findstrcommand. B C OS Name C OS VersionExamples C systeminfo findstr B C OS Name C OS Version. Microsoft Windows XP Professional. Download Fifa 2007 Full Version For Pc. OS Version 5. Service Pack 2 Build 2. This command works on XP, Vista and Windows 7 and on Server editions also. Find below example for Win. B C OS Name C OS Version. OS Name Microsoft Windows 7 Ultimate. OS Version 6. NA Build 7. 60. 0In case of Windows 7 SP1, the output would be slightly different as below. B C OS Name C OS Version. OS Name Microsoft Windows 7 Enterprise. OS Version 6. Service Pack 1 Build 7. If you want to print more details, then you can use just OS in the findstr search pattern. See example below for Server 2. C systeminfo findstr C OS. OS Name Microsoft Windows Server 2. R2 Enterprise. OS Version 6. NA Build 7. 60. 0. OS Manufacturer Microsoft Corporation. OS Configuration Standalone Server. OS Build Type Multiprocessor Free. BIOS Version IBM BWE1. AUS 1. 0. 5, 72. Using WMI Run the below WMIC command to get OS version and the service pack number. Caption,CSDVersion value. Example on Windows 7 c wmic os get Caption,CSDVersion value. CaptionMicrosoft Windows 7 Enterprise. CSDVersionService Pack 1. Also Read A Z list of CMD commands.