os version detection

I maintain a script in our test harness that autodetects and reports back the OS version of the machine under test.  I couldn’t tell if I was running XP SP1 or XP SP2 – so I had a kludge that used spcheck from the reskit.  But the real problem was that I was getting most info using ver…

9