Please take a look at the UDF Forum under WSHPing() - WSH ping routine... no temp files and Ping() - checks for reply , or returns ip-address of remote host
code:
$array='machine1, machine2'
for each $comp in $array
if not ping($comp)
? 'The computer '+$comp+' is not PINGable.'
endif
next

_________________________
There are two types of vessels, submarines and targets.