I am trying to username and password protect a certain batch file, and what it needs to do is ask for user input. If that input matches up with whatever is in the .txt file, it will continue executing. For example::
ask username(assign to %usrname%) > ask password(assign to %passwrd%) > check if %usrname% is in usrname.txt > check if %passwrd% is in passwrd.txt > If both check out, goto :next