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 : http://www.instructables.com/id/Collection-of-Computer-Tricks/

Now Let's Start to create this batch file login system.

Step 1: Create File

Simple Batchfile Login System with Loading Bar
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 : http://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

Simple Batchfile Login System with Loading Bar
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

Simple Batchfile Login System with Loading Bar
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

Simple Batchfile Login System with Loading Bar
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

Simple Batchfile Login System with Loading Bar
Thanks for check my Instructable.

If you want more than this then like our facebook page and follow us on twitter.
Facebook : http://www.facebook.com/errorcode401
Twitter : http://www.twitter.com/errorcode401
 
 

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel