in reply to Re: Re: Re: Windows Version Detection
in thread Windows Version Detection

This table is not complete by any means, but I thought that it might be helpful to some. Please continue to post if you should come across relevant information. I would've gone further but what I've collected so far is already above and beyond the requirements for the project at hand:
OS $id $major $minor ----------------- --- ------ ------ MS Windows 95 1 4 0 MS Windows 98 SE 1 4 10 MS Windows ME 1 4 90 MS Windows NT 3.51 2 3 51 MS Windows NT 4.0 2 4 0 MS Windows 2000 2 5 0 MS Windows XP 2 5 1
Where:
use Win32; my ($string, $major, $minor, $build, $id) = Win32::GetOSVersion() +;

"Make everything as simple as possible, but not simpler." -- Albert Einstein