Last active
July 23, 2020 03:06
-
-
Save qazi0/11e61c488dfde75241c9da7696fb3a4c to your computer and use it in GitHub Desktop.
Introducing programming through a simple batch file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
set /P name="What's your name? " | |
if %name% == Siraj goto success | |
cls | |
color 0c | |
echo Sorry Sir, you dont have authorization to proceed. | |
pause | |
exit | |
:success | |
cls | |
color 5a | |
echo Welcome Master! | |
pause | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment