~CREATING A SIMPLE BATCH FILE~

2 0 0
                                        

EXAMPLE-1:
@echo off
cls
color 0a
echo hello world
pause
goto exit

This is a simple batch file. you can do it in your computer.

EXAMPLE-2:
@echo off
cls
color 01
title login system
echo write down your name :
set/p ha=name:
echo write down the password:
set/p ha =password:
if%password%== 1234 goto a
if not%password%==1234 goto exit

:a
cls
echo very good you have done!
pause
goto exit

Here i have given two examples and like this you can make  this all, let me give you an interesting code:
@echo off

:A
color A
Pause
Color 1
Pause
Color 5
Pause
Color f
Pause
Color 9
Pause
Goto A
Open and press enter

Save all this code in .Bat extension

THE GREAT ENCYCLOPAEDIA OF BATCH FILEWhere stories live. Discover now