Is it possible to make so that the bat nick worked independently with the program @echo off telnet 192.168.1.1 Well, for example, I have the @echo off telnet 192.168.1.1 script @echo off telnet 192.168.1.1

and how to make the batch file itself could enter the password and login ??

I tried echo admin

But even did not work Tell me please

    1 answer 1

    There are ways to connect via BAT, but they are not particularly secure.

    So, to connect, use the following commands:

     echo password | telnet -l username 192.168.1.1 

    Or:

     telnet -l username 192.168.1.1 <pass.txt 

    Accordingly, username is the username, password is the password, and password.txt is the file containing the password and line break at the end.