Hi Kixtart Community

in our company do we use for a logon script kixtart.

I want make for the Windows 8 and later Users some changes different then the Windows 7 Users.

My Idea was like this.

$osversion = @DOS
if $osversion >= 6.2
	? "Do something for Windows 8 and later."
	? "Do Something for Windows 7 and earlier."

this compare doesn't work every time is this compare true.

When I set the variable "$osversion" for example
$osversion = 5.2

I think the problem is something wrong with the data type that I get from the "@DOS" command.

Can you give me a tip to fix this problem.



Edited by globi84 (2015-10-26 10:01 AM)