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 02-12-2019, 11:21 AM
andtriso andtriso is offline
Registered User
 
Join Date: Feb 2019
Posts: 1
my first script

Hi to all,
i'm new about scripting on secure CRT, I need to create a script to connect on different hosts and get information

I've a .txt file having inside ip address list like following
1.1.1.1
1.1.1.2
2.1.1.1
2.2.2.2
x.x.x.x
ecc....

Can someone help how to enter into .txt file get ip address then get second ip address and so on?

Thanks
Reply With Quote
  #2  
Old 02-12-2019, 11:52 AM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 233
Hi andtriso,

Have you taken a look at our Script Examples? We have a script that demonstrates how to connect to hosts read in from a "hosts" file and for each host, send a list of commands read in from a "commands" file.

Please review the script example and let me know if you have any additional questions!

https://forums.vandyke.com/showpost....94&postcount=1
__________________
Thanks,
--Brittney

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by berdmann; 02-12-2019 at 12:22 PM.
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 07:50 PM.