loading

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

:MAIN

cls

echo.

echo

Enter your username

echo.

set /p "username= >

" if %username%==USERNAME1 goto PASSWORD

goto ERROR1

:ERROR1

echo.

echo The username was not found, please try again.

echo.

pause

goto MAIN

:PASSWORD

cls

echo.

echo Enter your password

echo.

set /p "password= >

" if %password%==PASSWORD1 goto OK

goto ERROR2

:ERROR2

echo.

echo The password is incorrect, please try again.

echo.

pause

goto PASSWORD

:OK

cls

echo.

echo Welcome %username%, if %password%==PASSWORD1 goto PROGRAM

echo.

pause

: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!

<p>please help me I have an error for sign up</p><p>the system cannot find the batch label specified-sign up</p>

About This Instructable

163views

2favorites

License:

More by Blurryface21:Batch File Sign-In Script Batch File Text Encrypt/Decrypt 
Add instructable to: