|I have a variable containing some words separated by one space, like this|
set VAR=word1 word2 word3
Is it possible to have a FOR loop which loops over the word? Something similar in spirit to
rem call mybatch word1
rem call mybatch word2
for %%i in (%VAR%) do call mybatch %%i
only that written in this way, it's syntactically not valid.