If you just want the OS info, you can run all sorts of commands from the command line:
WMIC has many :
WMIC OS Get Name
Returns:
Microsoft Windows 7 Enterprise |C:\Windows|\Device\Harddisk0\Partition2
You can also use
wmic OS get /?
to get all your choices for that WMIC class.
systeminfo | Findstr /i "OS"
Will get you:
Host Name: MYCOMPUTERNAME OS Name:
Microsoft Windows 7 Enterprise OS Version: 6.1.7601
Service Pack 1 Build 7601 OS Manufacturer: Microsoft
Corporation OS Configuration: Member Workstation OS Build
Type: Multiprocessor Free BIOS Version: Dell
Inc. A08, 10/18/2011
[04]: Microsoft Virtual WiFi Miniport Adapter
You can then either pipe this to text, or copy from the command line as I did above.
Another attempt to get the what appears to be service pack information:
Run:
wmic os get * /value > C:\WMICOS.txt
the search that file for the string you want.
All of these provide some of the info, but not all. In XP there is a specific term after the build# ending in _rtm.040803-2158 that is not in any of the above. Thanks for the info, though, learnt something new. – MandoMando – 2013-05-03T16:17:00.010
@MandoMando added another suggestion to the end – Austin T French – 2013-05-03T16:42:48.997
1@MandoMando: The build number's what's really important. The build date and time (i.e. August 3, 2004 @ 9:58PM) should be same for all copies of the SP2 RTM release, so unless you have some sort of leaked release there's no point bothering too much about it. – Karan – 2013-05-04T22:17:30.947