Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-11-2013, 10: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 10.0.0.1"
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
  #2  
Old 05-13-2013, 07:35 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
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?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 09:23 PM.