This code helps you understand how to take an input using a bat file.
Testing a timeout in batch file. This technique can also be used to produce a delay for a certain period.
See this tutorial to understand how you can use a bat file to open multiple programs.