code:
if Shutdown ("$computer","Tuff Its Shuting Down",60, 1, 1)
$nul=WriteLine(2, "# @serror, Shutdown did not execute on $computer"+Chr(13)+Chr(10))
Else
$nul=WriteLine(2, "Shutdown did execute on $computer"+Chr(13)+Chr(10))
endif

should work too.

[ 27. May 2003, 14:50: Message edited by: Lonkero ]
_________________________
!

download KiXnet