I am checking a text file for a pass, and I want to compare it with user input. This is what I have so far but whatever I input for it, it unlocks. It's not working been racking my brain on this for couple days now.
Its not a high security thing just something im playing with to learn.
The pass file contains
Password=savepass
for /f "tokens=1,2 delims==" %%a in ("pass") do (
set savepass=%%b
)
cls
echo.
echo Enter password to unlock folder
set /p "pass=>"
if not %pass%==%savepass% goto FAIL`