Hello all, Could someone with Windows 11 run : ? OS(3)
To tell me what the number is? Windows 10 is 6
Thank you Philip Borkholder Vicksburg, MI
6
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Philip Borkholder Sent: Thursday, July 18, 2024 4:28 PM To: profoxtech@leafe.com Subject: OS(3) number result for Windows 11
Hello all, Could someone with Windows 11 run : ? OS(3)
To tell me what the number is? Windows 10 is 6
Thank you Philip Borkholder Vicksburg, MI
[excessive quoting removed by server]
End of my day and I'm easily distracted.
1 - Windows 6.02 2 - 3 - 6 4 - 2 5 - 9200 6 - 2 7 - 8 - 0 9 - 0 10 - 256 11 - 1
ACTIVATE SCREEN CLEAR lcresult=[] FOR xx=1 TO 11 lcResult = lcResult + TRANSFORM(xx)+[ - ]+TRANSFORM(OS(xx))+CHR(13)+CHR(10) NEXT _cliptext = lcresult
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Philip Borkholder Sent: Thursday, July 18, 2024 4:28 PM To: profoxtech@leafe.com Subject: OS(3) number result for Windows 11
Hello all, Could someone with Windows 11 run : ? OS(3)
To tell me what the number is? Windows 10 is 6
Thank you Philip Borkholder Vicksburg, MI
[excessive quoting removed by server]
In VFP Advance on Windows 11 Pro Version 23H2: 1 - Windows 10.00 2 - 3 - 10 4 - 0 5 - 22631 6 - 2 7 - 8 - 0 9 - 0 10 - 256 11 - 1
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Richard Kaye Sent: Thursday, July 18, 2024 5:14 PM To: profoxtech@leafe.com Subject: RE: OS(3) number result for Windows 11
End of my day and I'm easily distracted.
1 - Windows 6.02 2 - 3 - 6 4 - 2 5 - 9200 6 - 2 7 - 8 - 0 9 - 0 10 - 256 11 - 1
ACTIVATE SCREEN CLEAR lcresult=[] FOR xx=1 TO 11 lcResult = lcResult + TRANSFORM(xx)+[ - ]+TRANSFORM(OS(xx))+CHR(13)+CHR(10) NEXT _cliptext = lcresult
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Philip Borkholder Sent: Thursday, July 18, 2024 4:28 PM To: profoxtech@leafe.com Subject: OS(3) number result for Windows 11
Hello all, Could someone with Windows 11 run : ? OS(3)
To tell me what the number is? Windows 10 is 6
Thank you Philip Borkholder Vicksburg, MI
[excessive quoting removed by server]
Checking version numbers has become increasingly useless. Windows introduced so many compatibility layers, feature flags, different distributions, various execution models that the version number by itself often isn’t sufficient. The major version number for Windows in desktop and server editions doesn’t change anymore. Even build numbers are hard to use.
I can’t find the link to the Microsoft document right now, but they said, they discourage checking Windows version numbers. Instead we are supposed to check for the features that we rely on.
— Christof
On 18. Jul 2024, at 22:28, Philip Borkholder plborker@netzero.net wrote:
Hello all, Could someone with Windows 11 run : ? OS(3)
To tell me what the number is? Windows 10 is 6
Thank you Philip Borkholder Vicksburg, MI
[excessive quoting removed by server]
Even if you run Get-ComputerInfo in Powershell on Windows 11 it will return Windows 10 as the WindowsProductName, since 11 is not that different than 10 internally.
I would think you would have to maintain a list of build numbers (like for example at https://www.gaijin.at/en/infos/windows-version-numbers) and then look at the CurrentBuild value in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
So anything > 22000 is Windows 11, for example.