On Wednesday, August 28, 2013 08:03:21 AM Alexey Melnichuk wrote:
> I am not shore.
> On Win2k3 always return 5.2.3790 (also as WinXP x64)
> 
> I mean you get WINVER=0x0501 for WinXP on SP<2, and WINVER=0x0502 with
> SP>=2. So this is may be important.

I think the output of VER[1] will be sufficient. SO[2][3] has many other 
suggestions such as searching the registry, but this is simplest.

[1] http://www.robvanderwoude.com/ver.php
[2] http://superuser.com/questions/194567/windows-command-line-can-i-tell-
service-pack-number
[3] http://stackoverflow.com/questions/1792740/how-to-tell-what-version-of-
windows-and-or-cmd-exe-a-batch-file-is-running-on

-- 
tom <[email protected]>

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to