First of all, RTFM for correct syntax!

code:
If @PRODUCTTYPE = 'Windows 95' or instr(@PRODUCTTYPE, 'Server') or InStr(@ProductType,'Domain Controller')
else
IF InGroup ("MIS")
shell '%COMSPEC% /c /e:1024 start /min /wait "\\potlldc01\netlogon\vplogon.bat" >"%TEMP%\vplogonerrors.txt"'
endif
endif

Secondly, please post your code in between [CODE] tags as specified in ABC's of KiXtart board etiquette and message to new forum users

[ 26. February 2003, 16:39: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.