Your USE Statements need to be two separate lines.

There are two ways to DEBUG.

#1 in code -

code:
DEBUG ON ; -- Turn on Debugging
IF INGROUP ("domain\Domain admin")
USE K: /DELETE /PERSISTENT
USE K: "\\server\sharename"
? ''+@ERROR+' - '+@SERROR
ENDIF
DEBUG OFF ; -- Turn off Debugging

#2 From the command line -

KIX32 YOURSCRIPT.KIX /d

This should also be covered in the FAQ Section too.

Kent

[ 19. May 2003, 01:20: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's