1.

Solve : Parse a string in a batch file?

Answer»

All,
MS DOS.
How can you parse each of the characters in a string, into an individual VARIABLE?

i.e

SET var1=
SET var2=
SET var3=
SET var4=
SET string=ABCD

parse....... so that

var1=A
var2=B
etc...
I think I may have asked an incomplete question.

Actually, I am trying to test each character of a string returned from an .exe to the standard output.

The original POST was my METHOD to achive the END.



Discussion

No Comment Found