[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 444
  • Last Modified:

Telnet Scripting From Text File

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
datgigrinch
Asked:
datgigrinch
2 Solutions
 
Shift-3Commented:
You can use Plink, a command-line tool which comes with PuTTY, to run telnet commands in a batch script.
0
 
lanboyoCommented:
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

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now