I am trying to create a batch script for my Windows machine that loops through a list of (string/decimal) values and uses each value as a parameter inside the loop.
Below is an example of a simple for loop I would like to use to display all the different version files (from my list)
FOR ? in ('1.1','1.2','2.4','3.9') do echo V[value_from_for_loop].txt
I am having trouble in how to loop through each item and use a variable in my echo statement.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…