i'm trying to write a simple batch file to make my life easier. We have a few dozen Aix Boses that we telnet into and about 70 as400 Swift systems we telnet into.
I was starting on a batch file like the one below where i could run it, type in the system and it log me over.
What I want to add is for it to put in my user name. (if i could draw a password from a excel file that would be fantastic but id settle for just my user name). I have tried - l (username) at the end of telent and it didn't work. also tried -a. i keep getting the box with user name/password and there both blank.
Any ideas how i can get it to type in my user name?
here is my script.
set /p name= What system are you logging into?
i tried start script.vbs as another attempt using this info
Set cloner = CreateObject("WScript.Shell")