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.

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


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

When I set the variable "$osversion" for example
 Code:
$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.

regards

christian


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