Solved

Telnet Scripting From Text File

Posted on 2009-05-12
3
433 Views
Last Modified: 2012-05-06
Hi Guys,

I need to run a bunch of commands from Telnet and these commands are on a text file. Whats the best program to use for this? I'm searching for a program that will allow me to first login to the telnet server and then execute this script later.

I'll need detailed logs of the outputs so the windows telnet client might not be my best option.

Thanks
0
Comment
Question by:datgigrinch
3 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 250 total points
Comment Utility
You can use Plink, a command-line tool which comes with PuTTY, to run telnet commands in a batch script.
0
 
LVL 10

Assisted Solution

by:lanboyo
lanboyo earned 250 total points
Comment Utility
For a more advanced toolset, look for the scripting language expect, which enables you to chose different commands based on output and such. It is a unix application but do a google on expect/tcl for windows.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now