I'v gotta change the variable via input for x amount of times.
@echo off
for %%counter in (1,2,3,4) do (
set input =
set /p input=Type input:%=%
echo Your input was: %input%
)
For some reason the variable doesn't change.
How can I change the variable contents
Search found 1 match
- 11 Dec 2010 10:52
- Forum: DOS Batch Forum
- Topic: batch loop variable
- Replies: 1
- Views: 2833