The1337scripter
Programmer
ok, well, its pretty basic, what would I put in my script because when they logg in its gonna prompt my program *Its a login mangement program* anyways, im almost complete it.
if (retry=="log") {
cout << "Logging off\n";
ifstream a_file ( "logoff.bat" );
}
is what I have, how do I make it so when they type log in the cmd prompt, itll run the logoff.bat program so it logs out of the account. I can't find any good tutorials on it. Please help me =(
if (retry=="log") {
cout << "Logging off\n";
ifstream a_file ( "logoff.bat" );
}
is what I have, how do I make it so when they type log in the cmd prompt, itll run the logoff.bat program so it logs out of the account. I can't find any good tutorials on it. Please help me =(