Thank you Alex.

Just so everyone knows, @dos indeed returns 10.0 on windows 10 but after some updates it can also return 6.1

this seems to have to do with windows 10 not guarding the value in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

where kix seems to get it. I have only seen this issue once and I believe it was after a .net installation/patch.
_________________________
!

download KiXnet