I am trying to have a menu with some names. Each name will be represented with a number. If I enter the number. It will open youtube or google.
I can do this with the (goto) option but in this case I am trying to replace the word droploc with youtube or google for example. Is it possible?
@echo off
@echo menu
@echo enter 1 for google
@echo enter 2 for youtube
set google=1
set youtube=2
REM Example 1
if "%1%" == "1" (
set dropLoc=1
)
echo %dropLoc%
start "link" "https://dropLoc