How to send output to an exec command
Posted on 2006-11-01
I am trying to modify the windows registry in my application, and I am shelling out
reg add ... command. This always asks for confirmation Y/N after you exec the command in dos. How can I either by pass this confirmation or send it a Y character?