While looking for the equivalent of a switch / case statement for Windows batch files, I came across this answer on Stackoverflow. Basically, what it does is using environment variable substitution for simulating: case %var% of 1: rem do something 2: rem do something else 3: rem do something completely different end The code looks … Continue reading Windows advanced Batch programming call :bla%var%