Run bat file from telnet




















But you can get it to open the connection "automatically" by typing the IP address at the end of the command line box in the Telnet Properties.

Then when you double-click the Telnet icon, it'll be ready for you to login. Hope this helps. Good Luck. Please be more specific. There are some emulation software that you can use and associate with an automated logon script. Here is an example. You can not run it from the command line.

Let me tell you why, because telnet transfer the password in a plain text and therefore it is strongly recommended to use ssh as a secure shell that encrypts the password. Super Advisor. Active 1 year, 2 months ago. Viewed 18k times. Improve this question. Hennes Add a comment.

Active Oldest Votes. The telnet command does not offer many options for entering some commands CreateObject "WScript. SendKeys "o Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.

After the execution of the batch file you can see logs from telnetlog. This telnetlog. Shell" WshShell. SendKeys "telnet x. Sleep SendKeys "exit" WshShell. Office Office Exchange Server. Not an IT pro? Internet Explorer TechCenter. Sign in. United States English. Ask a question.

Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. The Official Scripting Guys Forum! If your answer is "yes," you know what to do. Dive in and help somebody! If your answer is "no," welcome to our fun little world! We'd recommend that you first head over to the Script Center, get your feet wet, and then come back to either ask or answer questions.

We can't be everywhere at once we know—shocking! The Microsoft Scripting Guys 4 2. Sign in to vote. Any help appreciable. Regards, Suresh Jaganathan. Wednesday, October 13, AM. This posting is provided "AS IS" with no warranties, and confers no rights. Wednesday, October 13, PM.



0コメント

  • 1000 / 1000