in
is not a command, but part of the syntax of the for
command.
IF
has no in
you can simply import the variables from your file:
cd docs
for /f "delims=" %%i in (users.txt) do set %%i
then get the new variables:
set /p usern=Username:
set /p passwd=Password:
and compare the old variables to the new variables:
if %usern%==%Username% if %paswd%==%Password% goto authGood