Sign in to follow this  
Followers 0
Ghost21

Ping having issues..

3 posts in this topic

In one of my scripts I have

$var = Ping($device, 500)

msgbox(0,"PING",$var & " ms")

and no matter what device I ping it gives me " 0 " even though if I ping it through dos it responds..

If I make a new script and just add

$var = Ping($device, 500)

msgbox(0,"PING",$var & " ms")

and the device name it shows me the right response..

What would be stopping this from responding correct..

Share this post


Link to post
Share on other sites



Just be sure $device is a correct server name or address... include the device name in the MsgBox

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0