Re: how to get the windows version

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Andy Fish wrote:

I would like to get the windows version but as a nice printable string like "Microsoft Windows XP Professional Service Pack 2". I don't want to process it, just display it (like on the system control panel)

GetVersionEx() is the standard way. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getting_the_system_version.asp

WMI (Win32_OperatingSystem) is just a wrapper.
.



Relevant Pages

  • MS04-006 patch.. error in verbage?
    ... Microsoft Windows 2000 Professional Service Pack 2, ... Professional Service Pack 3, ... Download 30-day evaluation at: ...
    (Focus-Microsoft)
  • Re: A stupid newbie question about output...
    ... Microsoft Windows XP Professional Service Pack 3 ... and the second print statement gives me this: ... (u'Microsoft Windows XP Professional Service Pack', ...
    (comp.lang.python)
  • Re: Problems about desktop!
    ... A quick search in Public\Shell for "Microsoft Windows CE v" finds that the ... beitman AT applieddata DOT net ... Try downloading Retail ... There's no this display string in the corresponding ...
    (microsoft.public.windowsce.platbuilder)
  • A stupid newbie question about output...
    ... Microsoft Windows XP Professional Service Pack 3 ... and the second print statement gives me this: ... (u'Microsoft Windows XP Professional Service Pack', ... then use that data in other scripts to generate test case scripts for ...
    (comp.lang.python)
  • Re: Any modern dumb terminals?
    ... However, when I run the same app on an HP820 running Win 95, full screen ... That's because Microsoft Windows XP emulates the text mode using graphics, ... The on chip text mode usually does fill the display normally, ...
    (comp.terminals)