Hello everyone sorry for no posts but today we are going to be doing a notepad programming tutorial with pictures! type this in notepad
@echo off
color 0a
:menu
cls
echo Hello And Welcome to the program!
echo the numbers then enter on the keyboard!
echo 1)Start
echo 2)Exit
set /p choice=Choice:
if %choice% == 1 goto start
if %choice% == 2 exit
:start
cls
echo Hello And welcome to the program!
pause
exit
the goto command will take you to a cyber location.
as you see start is made a cyber location so if you typed in 1 it would go to that location.
save the file a as a .bat extension file. then run the program an voila!

No comments:
Post a Comment