how do you allow the user to type multiple numbers into batch scripting if prompted?
if it prompted 5 options to the user. And the user wanted to choose 1,2,
Like this :
@echo off set /p "$choix=Enter you(s) Choice (1,2,...): " for %%a in (%$choix%) do call:choix%%a exit/b :choix1 echo Choice 1 exit/b :choix2 echo Choice 2 exit/b :choix3 echo Choice 3 exit/b