Simple Batchfile Login System With Loading Bar
by TheKnowledgeFactory in Circuits > Computers
56778 Views, 37 Favorites, 0 Comments
Simple Batchfile Login System With Loading Bar
Here we are sharing Batch file for login system with loading bar.
We will show you code and also show you how to use.
You can also visit our blog for more batch file codes.
FFLocker 1.0 : http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html
RarFile Password Cracker : http://errorcode401.blogspot.in/2013/06/Hack-Rar-file-password.html
Collection of Computer Tricks : https://www.instructables.com/id/Collection-of-Computer-Tricks/
Now Let's Start to create this batch file login system.
We will show you code and also show you how to use.
You can also visit our blog for more batch file codes.
FFLocker 1.0 : http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html
RarFile Password Cracker : http://errorcode401.blogspot.in/2013/06/Hack-Rar-file-password.html
Collection of Computer Tricks : https://www.instructables.com/id/Collection-of-Computer-Tricks/
Now Let's Start to create this batch file login system.
Create File
Open Notepad [Start >> Run >> Type 'Notepad' >> Enter]
Copy the following codes in notepad and save it as loginsys.bat
REM Codes from http://errorcode401.blogspot.in
REM ******************************************
@echo off
color B
mode con: cols=51 lines=18
IF NOT EXIST "c:\uname.txt" goto SIGNUP
IF NOT EXIST "c:\password.txt" goto SIGNUP
goto LOGIN
:SIGNUP
title SignUp
cls
echo -------------------------------------------------
echo SignUp
echo -------------------------------------------------
echo.
set/p "unamesu=Enter Username : "
set/p "passsu=Enter Password : "
echo.
echo.
IF ["%unamesu%"] == [""] goto SIGNUPERROR
IF ["%passsu%"] ==[""] goto SIGNUPERROR
goto CREATEACC
:SIGNUPERROR
echo -------------------------------------------------
echo Error
echo -------------------------------------------------
echo Invalid Username or password
pause
goto SIGNUP
:CREATEACC
echo %unamesu% >> C:\uname.txt
echo %passsu% >> C:\password.txt
attrib "C:\uname.txt" +s +h
attrib "C:\password.txt" +s +h
IF EXIST "C:\Program Files\Mozilla Firefox\firefox.exe" goto FIREFOX
goto IE
:FIREFOX
start firefox.exe "http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html"
goto LOGIN
:IE
start iexplore "http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html"
goto LOGIN
:LOGIN
set/p uname= < C:\uname.txt
set/p pass=< C:\password.txt
title Login
cls
echo -------------------------------------------------
echo Login
echo -------------------------------------------------
echo.
echo.
set/p "unamel=_ Username : "
set/p "passwordl=_ Password : "
echo.
IF "%unamel%"=="" goto LOGINERROR
IF "%passwordl"=="" goto LOGINERROR
IF NOT %unamel%==%uname% goto LOGINERROR
IF NOT %passwordl%==%pass% goto LOGINERROR
goto LOADING
:LOGINERROR
echo -------------------------------------------------
echo Error
echo -------------------------------------------------
echo Invalid Username or password
pause
goto LOGIN
:LOADING
title Loading...
set load=%load%!!!!!!!
cls
echo -------------------------------------------------
echo Login
echo -------------------------------------------------
echo.
echo.
echo Username : %unamel%
echo Password : %passwordl%
echo.
echo.
echo Logging in...
echo ===================================
echo %load%
echo ===================================
echo. Please Wait...
echo.
ping localhost -n 2 >nul
set/a loadnum=%loadnum% +1
if %loadnum%==5 goto DONE
goto LOADING
:DONE
title Done
cls
echo -------------------------------------------------
echo Done
echo -------------------------------------------------
echo.
echo #
echo #
echo # # Login Successfully
echo # #
echo #
echo.
echo.
echo -------------------------------------------------
pause
goto THANKS
:THANKS
title Thanks for using
cls
echo -------------------------------------------------
echo Thnaks
echo -------------------------------------------------
echo.
echo Thanks for using our codes.
echo Blog : http://errorcode401.blogspot.in
echo FB : https://www.facebook.com/errorcode401
echo Twitter : http://www.twitter.com/errorcode401
echo.
echo -------------------------------------------------
pause
exit
REM ******************************************
REM Codes from http://errorcode401.blogspot.in
Copy the following codes in notepad and save it as loginsys.bat
REM Codes from http://errorcode401.blogspot.in
REM ******************************************
@echo off
color B
mode con: cols=51 lines=18
IF NOT EXIST "c:\uname.txt" goto SIGNUP
IF NOT EXIST "c:\password.txt" goto SIGNUP
goto LOGIN
:SIGNUP
title SignUp
cls
echo -------------------------------------------------
echo SignUp
echo -------------------------------------------------
echo.
set/p "unamesu=Enter Username : "
set/p "passsu=Enter Password : "
echo.
echo.
IF ["%unamesu%"] == [""] goto SIGNUPERROR
IF ["%passsu%"] ==[""] goto SIGNUPERROR
goto CREATEACC
:SIGNUPERROR
echo -------------------------------------------------
echo Error
echo -------------------------------------------------
echo Invalid Username or password
pause
goto SIGNUP
:CREATEACC
echo %unamesu% >> C:\uname.txt
echo %passsu% >> C:\password.txt
attrib "C:\uname.txt" +s +h
attrib "C:\password.txt" +s +h
IF EXIST "C:\Program Files\Mozilla Firefox\firefox.exe" goto FIREFOX
goto IE
:FIREFOX
start firefox.exe "http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html"
goto LOGIN
:IE
start iexplore "http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html"
goto LOGIN
:LOGIN
set/p uname= < C:\uname.txt
set/p pass=< C:\password.txt
title Login
cls
echo -------------------------------------------------
echo Login
echo -------------------------------------------------
echo.
echo.
set/p "unamel=_ Username : "
set/p "passwordl=_ Password : "
echo.
IF "%unamel%"=="" goto LOGINERROR
IF "%passwordl"=="" goto LOGINERROR
IF NOT %unamel%==%uname% goto LOGINERROR
IF NOT %passwordl%==%pass% goto LOGINERROR
goto LOADING
:LOGINERROR
echo -------------------------------------------------
echo Error
echo -------------------------------------------------
echo Invalid Username or password
pause
goto LOGIN
:LOADING
title Loading...
set load=%load%!!!!!!!
cls
echo -------------------------------------------------
echo Login
echo -------------------------------------------------
echo.
echo.
echo Username : %unamel%
echo Password : %passwordl%
echo.
echo.
echo Logging in...
echo ===================================
echo %load%
echo ===================================
echo. Please Wait...
echo.
ping localhost -n 2 >nul
set/a loadnum=%loadnum% +1
if %loadnum%==5 goto DONE
goto LOADING
:DONE
title Done
cls
echo -------------------------------------------------
echo Done
echo -------------------------------------------------
echo.
echo #
echo #
echo # # Login Successfully
echo # #
echo #
echo.
echo.
echo -------------------------------------------------
pause
goto THANKS
:THANKS
title Thanks for using
cls
echo -------------------------------------------------
echo Thnaks
echo -------------------------------------------------
echo.
echo Thanks for using our codes.
echo Blog : http://errorcode401.blogspot.in
echo FB : https://www.facebook.com/errorcode401
echo Twitter : http://www.twitter.com/errorcode401
echo.
echo -------------------------------------------------
pause
exit
REM ******************************************
REM Codes from http://errorcode401.blogspot.in
SignUp
Now Open that file by double click.
Enter your username and password which you want then hit enter.
Your detail has been stored in C drive in two files name with "uname.txt" and "password.txt" which is hidden.
Enter your username and password which you want then hit enter.
Your detail has been stored in C drive in two files name with "uname.txt" and "password.txt" which is hidden.
Login
After that you will see one Login screen.
Enter your username and password which was set by you.
If you will enter wrong password then login successful screen will not appear.
Enter your username and password which was set by you.
If you will enter wrong password then login successful screen will not appear.
Done
If you did each step correct then you will see this window. you can replace it with your program/code which you want.
Thanks
Thanks for check my Instructable.
If you want more than this then like our facebook page and follow us on twitter.
Facebook : https://www.facebook.com/errorcode401
Twitter : http://www.twitter.com/errorcode401
If you want more than this then like our facebook page and follow us on twitter.
Facebook : https://www.facebook.com/errorcode401
Twitter : http://www.twitter.com/errorcode401