can someone please point me at documentation that shows the output from the systeminfo command line tool that display windows info please?
on my windows xp machine i get this
OS Name: Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 3 Build 2600 OS Manufacturer: Microsoft Corporation
its the OS name part i need to know for as many versions of windows as possible
as i would like to create a script which perfoms audit function on all windows versions and some of the commands i use are version specific.
Unless there is a better way to disocver the windows version than using systeminfo
i do not want to use wmi, or .net, i am trying to keep things a slightweight and as simple as possible.
thanks for listening
Cheers
DD
You might be able to get the information you need from the registry, accessible from the command line through the “reg” command or through powershell. More discussion: http://www.eggheadcafe.com/software/aspnet/31845351/reliable-way-to-get-windows-version.aspx