I am looking to get a simple DOS batch program to ask for a user input then verify that it is what is the person typed, and if it is correct to what it is suppose to be it would run a certain command, but id it was not correct it would ask 3 more times then it would run a different command.
Example:
"mark" signs on in the morning opens this program types "marj" miss spelling his name would give him 3 more tries, at the end of 3 tries it would run the shutdown command and make him wait till it restarts to try again.
But say "mark" runs the program and types "mark" correctly it would start the drive mapping command in DOS to give him access to his Drives.
I want to make it so that I have more then one user input option because different users need access to different shares.
I have considered doing a choices menu, but I want to make it some what secure so if a unauthorized person gets on they can’t just see a name and choose it to have access.
I also know that anyone that has any computer skills can just edit the BATCH file and see the choices, security is not major concern, it’s just for convenience.
I need this for a public computer that has a generic logon other wise i would just use active directory to manage my maped drives in there profile.
Those who dont learn from the past are doomed to repeat it.