Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bat file to run telnet session

Status
Not open for further replies.

xerox999

Technical User
Mar 11, 2003
50
GB
Hi,


I am trying to write a batch file which will enable me to connect to a remote host and carry out a sequence of commands and dumpp them to a txt file. The problem is that the telnet session always comes up in its GUI form. Is it possible to connect to host without bring up the telnet window.
So for example:

telnet *****
username
password

carry out commands

dump all output to a text file


many thanks to you all, sorry if this is not in the right forum.

 
Not sure if this will work or not, but you could try using an app like "Hide Windows" which allows you to hide app windows from the command line.


mot98
[cheers]

"Victory goes to the player who makes the next-to-last mistake."
- Chessmaster Savielly Grigorievitch Tartakower (1887-1956)
 
mot98 thanks for your help, but no other apps can be used.
I do have Hummingbird installed on all our PC's. I think it maybe easier to use that, any ideas?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top