My network router has a problem which I can work around by logging in on a telnet session and issuing some commands. I need to reissue these commands anytime the router is reset, so I would like to create a .BAT file that automates this.
Can anyone share an example of a simple .BAT file that connects via telnet and passes commands via the telnet session?
(here is a log of me issuing these commands manually, IP address and username changed to protect my privacy)
C:> telnet 10.0.0.254
Username : userx
Password : ************
_{userx}=>system config digestauth disabled
{userx}=>saveall
{userx}=>exit
Connection to host lost.
C:> EXIT
StuartR