Batch file to telnet and input as text file

July 8, 2011 at 10:30:13
Specs: Windows XP
i want to prepare a batch file such that
1)telenet the i.p address
2)execute the commands in all the text-files present in that folder(4 to 5 text files are there in the folder as file1.txt,file2.txt....etc,each text files file consists of more than 1000 commands)
3)output of all the telnet commands(i.e different text-pads) is collected in separate/same folder and with corresponding text file naming(example as file1_out.txt,file2_out.txt,)

please do the needfull...
Any special software is there to execute the telnet commands in a faster manner?

See More: Batch file to telnet and input as text file

Report •

July 8, 2011 at 12:35:37
Google for Putty, an Open Source package that can be scriptable to automate telnet connections. I never used it but people say it is very effective (and free).

Report •

July 8, 2011 at 12:39:18
hi thanks for the response....

can i know the solution using the Batch file??

Report •

July 8, 2011 at 12:58:43
A plain batch script is unable to achieve your target. Putty can be command line driven and scriptable so it can be embedded into a batch. Read carefully the documentation and you will be guided to fit your needs.

Report •
Related Solutions

Ask Question