Search code examples
batch-filetelnet

Running telnet from a batch file


As some of you are well-aware, you can watch Star wars IV in ASCII text bu running the following in CMD

telnet
o
towel.blinkenlights.nl

I was wondering if you could run this from a batch file. I know this question may be very "noobish" however I have tried stuff like

telnet towel.blinkenlights.nl

and

telnet -o towel.blinkenlights.nl

also

start telnet towel.blinkenlights.nl

and none of them work. Is there a way to do this? Thanks.


Solution

  • start "" telnet towel.blinkenlights.nl
    

    The person who answered this seems to have deleted their answer so I am posting this so other people who have this problem can look here