I have found many solutions that are close to what I want but not exactly it and have had no luck myself.

I am trying to create a script that I can use to automate firewall authentication. I am doing this manually at the minute by opening a cmd window and attempting to telnet to a device/pc behind the firewall. After a short pause I am prompted for username and password.

Is there any way to write a batch file that will open a cmd window and provide these two values?

Currently it goes like this:

```
C:> telnet device (I type this in to prompt authentication)
(short pause)
-- Firewall Authentication --
Username: (asks for input which I provide then press enter)
Password: (same as username)
-- Authentication Successful --

```

Thanks for any help with this. If you need more specifics please comment :)