Quote:



Code:

break on

$wksta = @WKSTA

shell '%comspec% /c ping -n 2 $wksta | find /i "TTL=" >NUL 2>NUL'

if @ERROR = 0
?"$wksta is accessible!"
else
?"$wksta is not accessible!"
endif

exit 0







I tried this too. It works fine, BUT unfortunately, ping does not work for checking foreign I.P. what i mean is, I am not able to ping to any I.P. outside my network due to the FIREWALL. so the only option which is have is telnet. I replaced the ping statement with TELNET but it didnt work.

Actually, i dont want to use any thing other than Kixtart, not even the HABobjects.DLL. Is it possible to do? I am trying & will let you all know.