I am trying to run smsls.bat through kix32, but keep getting an error when kixtart login script is run. The error says...

'and' is not recognized as an internal or external command, operable program or batch file.
'C:\Documents' is not recognized as an internal or external command, operable program, or batch file.

The user's profile within Active Directory is set to run logon.bat from the NETLOGON SHARE.

The logon.bat file runs the command "kix32.exe sms.kix"

The sms.kix file runs the following code:

code:
IF INGROUP("ITDEPT")
IF @INWIN=1
SHELL "@LANROOT\CMD /E:1024 /C @LSERVER\NETLOGON\SMSLS.BAT"
ELSE
SHELL "@LSERVER\NETLOGON\SMSLS.BAT"
ENDIF
ENDIF

Can anyone help?

Thanks,
Jason