I have test.exe
application which I run and it ask to enter password twice. In Unix I have seen this can be run using echo command for silent execution without editing the test.exe
.
In Unix:
echo -e "Password\nPassword"|test.ksh
Above command prompts for password twice and takes it through the echo command.
I want to do the same on DOS.
But I am getting a error like
No console available for secure input
No console available for secure input
Can't spawn "cmd.exe": No such file or directory at /
Problem while processing the Password.