VanDyke Software Forums

VanDyke Software Forums (
-   Scripting (
-   -   Script ping IP addresses (

gantohi 02-09-2021 08:49 AM

Script ping IP addresses

Is there any possibility to create a script that would ping an IP address that I enter (requested via messagebox or text field and changing every time - it s never the same specific address).

Thank you,

azzeddine.salem 02-09-2021 10:09 AM

this works


strInput = InputBox("Please enter the IP address")

if strInput <> "" then

crt.Screen.Send "ping" & strInput & chr(13)


end if

berdmann 02-09-2021 10:16 AM

Hi gantohi,

I want to make sure that I have an accurate understanding of what it is that you are trying to accomplish with the script.

Can you please tell me more about how you intend to use the script?

Is it your goal to ping hosts from your local machine, like you might from a CMD window?

Or are you planning on connecting to a remote host with SecureCRT and then running the ping command on the remote?

What version of SecureCRT are you running?

All times are GMT -6. The time now is 01:19 PM.