Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 05-11-2013, 11:30 PM
kurtmanzano kurtmanzano is offline
Registered User
Join Date: May 2013
Posts: 6
Simple ping without connection

hi, ive read almost all the forums about ping, but it needs to be connected first.
is there a solution for pining an ip without a connection

my code is (but needs to be first connected)

strCmd = "ping"
strCmd = crt.Dialog.Prompt(strCmd)
crt.Screen.Send strCmd & vbcr

my problem is i have a list of ip but some of them are dead ip. i need to ping them first before connecting. I need this to run independently without connecting first to a server . thanks
Reply With Quote
Old 05-13-2013, 08:35 AM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,305
Hi kurtmanzano,

Thanks for the question. I am not sure why you would need to ping a device first. Is your script hanging because it can't reach the device?

VanDyke Software
Technical Support
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 05:28 PM.