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?
thanks

@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%

Respuesta :

There isn't an opening and closing parentheses for the else statement. PM me. I know a lot of batch...