telnet batch script problem

September 6, 2012 at 20:54:31
Specs: Windows 7
hi can someone help me? i have a text file with a list of IP and PORT, so i want it to be called one by one and telnet to it, then automatically captured each telnet session and save into a JPG or BMP format.

See More: telnet batch script problem

Report •

September 7, 2012 at 04:28:48
First of all I would highly suggest you use a secure protocol such as SSHv2 instead of telnet.

Telnet can be scripted in two ways that I am aware of. One way is to use VBScript SendKeys and the other and more preferred way is to use Expect. For your second requirement, you could probably use a simple VBScript and use SendKeys to send ALT+PrintScreen but that would require further code to paste it into mspaint, then hit CTRL+S, etc. You should probably find a command line screen capture utility.


Report •
Related Solutions

Ask Question