Does anyone know why this is not working? I want it to ask for a string, such as 1, 2 or exampletext. Then it checks if the input value is 1, then it changes the variable to ABC, if it's 2, then it changes to DEF, otherwise leave it the same.
@echo off
set /p id="Enter ID: " %=%
IF "%id%" == "1"(
set id="ABC"
)
ELSE (
IF "%id%" == "2"(
set id="DEF"
)
ELSE (
PING 127.0.0.1 -n 0.1 >nul
)
)
Start "" "C:\Users\Comp\Desktop\livestreamer-1.5.2-win32\livestreamer.exe" twitch.tv/%id% mobile_High