@echo off @echo off for /f %%i in ('powershell ^(get-date^).DayOfWeek') do set dow=%%i echo %dow% echo Call gift of the day :switch-case-example :: Call and mask out invalid call targets goto :%dow% 2>nul || ( :: Default case echo Something else ) goto :switch-case-end :Monday set present=gold echo %present% goto :switch-case-end :Tuesday set present=xp echo %present% goto :switch-case-end :Wednesday set present=tar echo %present% goto :switch-case-end :Thursday set present=march25 echo %present% goto :switch-case-end :Friday set present=gold500 echo %present% goto :switch-case-end :Saturday set present=speedups15 echo %present% goto :switch-case-end :Sunday set present=speedups3 echo %present% goto :switch-case-end :switch-case-end echo https://totalbattle.com/fr/?present=%present% start https://totalbattle.com/fr/?present=%present% :: timeout /t 90 /nobreak :: taskkill /F /IM chrome.exe /T > nul set /P N=Enter switch case number: stop