The plot thickens ... https://msdn.microsoft.com/en-us/library/windows/desktop/ms724439(v=vs.85).a spx
>From that link ... With the release of Windows 8.1, the behavior of the GetVersion API has changed in the value it will return for the operating system version. The value returned by the GetVersion function now depends on how the application is manifested. https://msdn.microsoft.com/en-us/library/windows/desktop/ms724429(v=vs.85).a spx To obtain the full version number for the operating system, call the GetFileVersionInfo function on one of the system DLLs, such as Kernel32.dll, then call VerQueryValue to obtain the \\StringFileInfo\\<lang><codepage>\\ProductVersion subblock of the file version information. >From that I tried .... oFSO = CREATEOBJECT("scripting.filesystemobject") ? oFso.GetFileVersion("C:\Windows\System32\kernel32.Dll") On Win 7 Ultimate x64 machine I get "6.1.7601.19018" returned. VFP : OS(3) 6 | OS(4) 1 | OS(5) 7601 so seems to line up fairly well. Give it a go on WIN 10 - be interested to see if it works. -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, 24 May 2017 3:38 PM To: [email protected] Subject: RE: How to tell between Win8 and Win10 using Fox commands? On 2017-05-23 20:05, Darren wrote: > I don't have Windows 10 but try this ... > http://www.news2news.com/vfp/?example=22&function=29 > > Be good to know if that works OK on 10 also - don't see why it > shouldn't. Yes but it looks as though 8 and 10 are reporting the same per the Fox Wiki. I'll try your link Thursday and report back. [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

