In a batch file, how do i use user input?
how do i use user input using %1, %2 etc from the running bat file, not from the actual file itself, and how do i loop the batch file a set number of times?
How do i make it show something like:
How many times would you like to run this command?:
then it loops the number of times told.
Thanks,
Nappymonster
2007-09-19
07:06:49
·
4 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
For example, what would be the code to write something along the lines of:
What is your name? (you enter your name)
How many times do you want to repeat it?
(enter a number)
Hello bob
hello bob
hello bob
etc
2007-09-19
07:14:26 ·
update #1