I seem bound to repeat that again and again

* The only way to use ping is this:
 Code:
Function Alive($Host)
 shell '%COMSPEC% /c Ping ' + $Host + ' |find /c "TTL=" >nul 2>nul'
 If @ERROR
  $Alive = 0 ; return 0, not alive
  Exit @ERROR
 Else
  $Alive = 1 ; return 1, is alive
  Exit @ERROR ; 
 EndIf
EndFunction
_________________________