Windows batch file telnet login
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. All forum topics Previous Topic Next Topic.
Honored Contributor. Hi Santosh, using file. In your example, telnet start and next new line xyz and xxx are read after telnet is closed as command. You can't work neither in this way: edit myfile. To open automatically a telnet session you have use a VT emulator with script capability as PowerTerm yue can find at ww.
Bye Antoniov Antonio Maria Vigliotti. Create a free Team What is Teams? Learn more. How to pass commands to a telnet window with a batch script? Ask Question. Asked 1 year, 10 months ago. Active 1 year, 2 months ago. Viewed 18k times. Improve this question. Hennes Add a comment. Active Oldest Votes. Did you run what was posted? Can you post the console output. If telnet cannot accept input from the pipe, it may be possible to redirect input from a file, but it will be necessary to see the sequence telnet requests the input.
Of course telnet may only take the password from the keyboard in which case you will be SOL. Let us know. If the telnet userid and password are the same ones you use for Windows, try using the -a switch: Code: [Select]. It is possible with help of another executable called telnetd.
I have developed this executable to automate telnetd. Usage telnetd. This telnetlog. Pages: [ 1 ] Go Up.
0コメント