subject

If you know batch coding, can you see if there is anything wrong with this script, or if you can make any suggestions to modify the code?


@echo off
cls
color df
title website opener
echo type in "website" to go to open website ( you dont need to include the www. or you can type "program" instead to open a program)
set /p a=
if %a%== program goto start_pro
if %a%== website goto website
) else (
exit

: website
cls
echo okay! what website do you want to open?
set /p a=website:
start www.%a%
exit

: start_pro
cls
title open a program
echo what is the program you want to open?
set /p a=
if exist %a% then
if not exist %a% exit
start %a%

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
The can be used to paste text in any order
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
You know the right answer?
If you know batch coding, can you see if there is anything wrong with this script, or if you can mak...
Questions
Questions on the website: 13722363