I wonder if there is a simple way to branch execution in a Windows batch file depending on the value of one single expression. Something akin to switch/case blocks in C, C++
Compact form for short commands (no 'echo'):
IF "%ID%"=="0" ( ... & ... & ... ) ELSE ^ IF "%ID%"=="1" ( ... ) ELSE ^ IF "%ID%"=="2" ( ... ) ELSE ^ REM default case...
After ^ must be an immediate line end, no spaces.
^