This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Windows OS and uname; compatability


On 2/28/2011 11:49 AM, Fergus wrote:
> Thanks to a previous responder I now know that in response to uname:
> NT-5.0 = W2000
> NT-5.1 = XP
> NT-6.0 = Vista
> NT-6.1 = W7

That's very oversimplified, as the links posted by Barry B. will tell
you.  One thing you CAN do is use
   /usr/lib/csih/winProductName.exe
And it will use not just the kernel version, but other Windows Version
Info items to deduce EXACTLY which version of windows you're running.
To get that prog, you need to install the 'csih' package.

--
Chuck


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]