Code: Select all
color a
@echo off
title RegistryData Beta 1.0 Designed by ________
echo Welcome to Registry 1.0- Beta Designed by _______
echo User access will be permitted if desired user is ___ _______
echo ///////////////////////////////////////////////////////////////////
pause
cls
:Username
Set input=1
set/p input= ID
if "%input%"=="" (
goto N2
)
if %input%==1 goto :Password
if not %input%==1 goto N2
:N2
Echo INCORRECT IDENTIFICATION
Set input=1
set /p input= ID (If Incorrect Access Will Be Denied) :
if %input%==1 goto :Password
if not %input%==1 goto N2.1
:N2.1
Echo WRONG IDENTIFICATION. PROGRAM IS CLOSING
Pause
Exit
:Password
Set input=
set /p input= Password (Access Will Be Denied If Failed 3 Times) :
if %input%==Qazwsx12321 goto YES
if not %input%==Qazwsx12321 goto NO1
:YES
Start Logs.txt
Exit
:NO1
Echo INCORRECT PASSWORD
Set input=
set /p input= Password (input then press enter) :
if %input%==Qazwsx12321 goto YES
if not %input%==Qazwsx12321 goto NO2
:NO2
Echo INCORRECT PASSWORD
Set input=
set /p input= Password (input then press enter) :
if %input%==Qazwsx12321 goto YES
if not %input%==Qazwsx12321 goto NO3
:NO3
Echo INCORRECT PASSWORD
Pause
Echo WINDOW WILL NOW CLOSE
Pause
Exit