Introduction: Simple Batchfile Login System With Loading Bar

Picture of 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.

Step 1: Create File

Picture of 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

Step 2: SignUp

Picture of 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.

Step 3: Login

Picture of 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.

Step 4: Done

Picture of Done

If you did each step correct then you will see this window. you can replace it with your program/code which you want.

Step 5: Thanks

Picture of 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

Comments

GoWolves11 (author)2017-07-27

Thnaks?

Pratik Sonigra (author)2016-03-26

For other useful batch files visit

http://batch798.blogspot.in/

KenshinH (author)2015-05-17

Amazing! Thanks a lot!

Terminatrix3 (author)2015-04-05

This is a Login and Register batchfile code. you can create multiple account!

Link :

http://pastebin.com/BuxzF9RP

This never expired!

Created By ME.

With Multiple Accounts!

Copy and Paste now!

Oh yeah. I forgot.

This Login and Register haves a versions!.

The New Version is great and cool.

mcaptainx (author)2014-12-11

F******** AWSOME!!!!! MAKES MY PC LOOK LIKE A PRO'S

CarsonV (author)2014-11-29

I love this program. I even implanted it into one of my other Batch files I'm working on and I modified the code so it also fits my Batch Program. Thanks, errorcode401.

BatchDesigner (author)2014-07-04

What if you want multiple accounts without transferring to another computer or erasing data :P

snowflake231113 (author)2014-06-05

This code is nice for my program. Because it's about folder lockdown or something. But what's a REM?

Ha-King (author)2013-08-19

why so complex?

errorcode401 (author)Ha-King2013-11-19

Hey Ha-King, Its not complex . Can you tell we what is complex for you?

About This Instructable

33,970views

37favorites

License:

Bio: Hello guys, Here we are for sharing our knowledge. We are trying to share it to every person. Errorcode401 is Blog Which is Created to ... More »
Add instructable to: