July 19th, 2013, 03:08 PM
Send commands or variables.
I'm traying to create an executable with C or C++ that send a command with the function system, but it waits for a command or key.
I send this:
C:\runas /noprofile user:administrator notepad.exe
But it waits for password.
Please type the password :
So my question is how can I make to send the password or that my program detect that prompt.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.