May 16th, 2009, 11:14 AM
Put in keys automatically???
using namespace std;
system("net user John *");
system("net user Michelle *");
Question is... how can I make it so that the password is put in automatcially?
I have a project in which the goal is to distribute a file around to all computers that puts in the password for the person automatically (that he/she selected) so that one can log on to any computer using his/her same user name and password.
I would, of course, know all the passwords and just put in the code right underneath the "system("net user John *");"
Does anyone know of a way?
May 17th, 2009, 01:50 AM
Re: Put in keys automatically???
I don't exactly understand how and what you plan to do, but you can use the SendInput function to simulate keystrokes typed manually.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!