I'm trying to write an login batch script. I'm having an execuable a.exe and I want to automatically do the login:
if u do it manually it looks like:
a.exe param1 param2
a>login Random-Name
a>Username: "put in username + pressENTER"
a>Password: "put in password+ press ENTER"
a>quit
So and this whole thing it want to do by a batch script
init.bat username password
@echo off
START a.exe login srv_name
%1
%2
Not sure how to accomplish that, I tried a few thinks now but I wasnt even able to echo the Username after a>Username: . Thanks for any help.