Try this:

code:
If UCASE("@Priv")="ADMIN"
$Msg1 = "Updating Anti-Virus" $MsgTitle = "Administrative Message"
MessageBox($Msg1, $MsgTitle , 64 )
shell "%comspec% /c $SdatPath\$SdatName /silent /logfile $ReportPath\@wksta.log"
$LastAction="Ran $SdatPath$SdatName - Error: " + @error
Else
MessageBox($Msg2 , $MsgTitle , 48)
$LastAction="Scan Engine has to be updated"
Endif

------------------
BoxKite
FACTA NON VERBA

_________________________
Box
FACTA NON VERBA