I should have read the question properly.
The code I wrote expects you to get all your variables up front, either entered as arguments when launching the batch file, or by a series of prompts by a vbs that are then used to launch the batch file with arguments...
This code will wait for you to enter a variable and store it as such.
Set /p name="What is your name? "
What you should notice about this code is:
There is no error checking. No type checking, no provision for spaces or lack of them, etc...
Batch files can be useful, but generally only in the confines of getting something done that you are needing to do again and again (eg a batch process)...
It's not a good language to write things that you want to use long term or release or use to support something long term..,