I have a utility (myprog.exe) that requires a login an password to function. It has an .ini file for ID and Password , but for some reason it will not use the values I put in to the ini file (i think it is supposed to auto-update the ini file but that doesn't happen), so I'm trying to come up with a workaround.
If from a .bat file i run
echo <USER ID> | myappp.exe
this correctly passes the ID number to he program, and it advances to the PW input. If I type the PW and press [Enter], the program works correctly(image is the output of running the above command from batch file). All I want to do is pass this keyboard input for the PW on to the program . I've tried a few different syntax form for a 2nd echo command by they didn't work, or hang the program somehow.
I didn't write the utility, an the author is unable to offer further assistance.
Editing the batch file and adding a 2nd echo command
echo <password> | myappp.exe
in any syntax form, or trying to call a 2nd batch file after the first echo command
echo <USER ID> | myappp.exe call 2ndinput.bat
all attempt have given the same result: