Originally Posted by Daved
Its kinda ugly right now, havent really done much to it. Its for a school project thing.
The use of the program is to List users/groups in the computor using system commands and you should be able to change the password/groups of users.
I got the append thing to work now also, thanks guys.
using namespace std;
int main(int argc, char *argv)
system("net users > users.txt");
system("net localgroup > groups.txt");
cout<<"What user would you like to add, to what group?" <<endl;
getline (cin, user);
cout<<"You would like to add "<< user <<" to what group?" <<endl;
getline (cin, group);
cout<<user<<" has been added to group "<< group <<endl;
systemcmd = "net localgroup ";
systemcmd += group;
systemcmd += " ";
systemcmd += user;
systemcmd += " /add";
cout<<"Executing - "<<endl<<systemcmd<<endl;
As you can see, i have alot to do and change to it but its coming along. Thanks for your help.