Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 02-09-2021, 08:49 AM
gantohi gantohi is offline
Registered User
Join Date: Dec 2020
Posts: 2
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,
Reply With Quote
Old 02-09-2021, 10:09 AM
azzeddine.salem azzeddine.salem is offline
Registered User
Join Date: Feb 2021
Posts: 1
this works

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

if strInput <> "" then

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


end if

Last edited by cboyack; 02-09-2021 at 10:14 AM. Reason: Please use the [CODE] and [/CODE] tags to denote a script
Reply With Quote
Old 02-09-2021, 10:16 AM
berdmann berdmann is offline
VanDyke Technical Support
Join Date: Aug 2017
Posts: 441
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?

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote

ping , script

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 08:35 PM.