Batch Programming! Inputs, Displaying text, If Statements!

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

Batch Programming! Inputs, Displaying text, If Statements!

F
flamer265

0 Views • Apr 28, 2016

Description

Thanks for watching! Like comment and dont forget to subscribe!!!
Code: @echo off
:a
Title Inputs and If Statements
echo Please Login!
set /p user= Username:
set /p pass= Password:
if /I "%user%"=="ItzFlames" goto :next
goto next

:next
if /I "%pass%"=="123" goto loggedin
goto wrong

:wrong
Echo Password Wrong!
Echo Please try again!
goto :a

:loggedin
echo Logged in!!!
echo program successfuly created!
pause