Thanks. I removed the @echo off. My script now looks like

%0\..\kix32.exe \\s0001\NETLOGON\logon.kix

if ingroup ('classified')
use x: /delte
use x: \\s0001\classified
endif

if ingroup ('confidential')
use y: /delete
use y: \\s0001\confidential
endif

use z: /delete
use z: \\s0001\general

but I get

ERROR : unknown command [%0\..\kix32.exe]!
Script: \\s0001\netlogon\logon.kix
Line : 1