Introduction: Batch File Sign-In Script
Hello Instructables community! This is Blurryface21, and this is my second Instructable! This batch file is a sign-in script with a username/password and can be put before any program you want to log in to1
Step 1: The Code
Enter your username
set /p "username= >
" if %username%==USERNAME1 goto PASSWORD
echo The username was not found, please try again.
echo Enter your password
set /p "password= >
" if %password%==PASSWORD1 goto OK
echo The password is incorrect, please try again.
echo Welcome %username%, if %password%==PASSWORD1 goto PROGRAM
Under :PROGRAM you put the program you wanna log in to!
Save the code as anyname.bat and save it as All Files, and you got a log-in system!
We have a be nice policy.
Please be positive and constructive.