How select multiple values for variable from given set in DOS batch file

Hello,

here is my issue.
I have a set of strings like word1,word2,word3 and I have use these strings one by one.I am using variable option in DOS batch file..
I have to use word1 as variable value and word2 as variable second time and word3 third time..

can someone tell e how to do this ?
1 answer Last reply
More about select multiple values variable batch file
  1. Check out the "FOR" command, although that works with a set of file names. One kludgy way to do this might be to create files named whatever you want and then parse the directory that contains them. The syntax of all this can be found by going to a DOS prompt and typing HELP FOR.
Ask a new question

Read More

DOS Batch Windows 7