I am trying to create a batch file to automatically connect and login to webfocus using telnet and run the find command to locate any string. My problem is I can't seem to get past the password. It pops up for me to enter the password. Looks like telnet has a -l option for the user but no password option that i could find. Any one have any ideas.
B
thanks brianThis message has been edited. Last edited by: <Emily McAllister>,
Product WF 7.1.6 Windows Database Oracle outputs PDF, HTML, EXCEL
April 21, 2016, 08:48 AM
BabakNYC
In unix you could use expect. I haven't tested it but it might look something like this:
set Password "your_password"
set Username "your_username"
telnet IPaddress
expect "Username: "
send "$Username\r"
expect "Password: "
send "$Password\r"