I found the solution, bad entries in the ini file
[name]
KDWN3DW = @wksta
kdpp4zp = @wksta

and the code to run is :
;Remove SMS Client
$dev = readprofilestring("c:\test kix\wksta.ini","name",@wksta)
if @ERROR = 0
shell "v:\setup\sms\remsms.bat"
endif

Thank you everybody for your help, this forum is very helpfull.