Solved

Telnet Scripting From Text File

Posted on 2009-05-12
3
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 250 total points
ID: 24366873
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
ID: 24425661
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

724 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