If I do in CMD something for
like this:
for /F "tokens=1,2* delims=: " %%g in (test.txt) do (
echo %%g es el label y %%h es el valor
)
With those delimiters what happens to me is that it separates me by a colon OR by a space. But how can I make it always separate by a colon AND by a space?
According to the information in this link , I would have to delimit you in both cases. It also warns that setting more than one delimiter can have problems with some data sets.
I did this test in a windows 10 CMD and it works:
Result: