|I'm trying to write a .bat file that will take a text file with a crap load of lines in it,|
and turn every line into a variable.
I got stuck right here:
set /a N=0
for /f "tokens=* delims= " %%a in (ms.txt) do (
set /a N+=1
set mes!N!= What do I put here?
I need it so that each variable starts with "mes" and ends with the line number, which I have already done.
However, I can't figure out how to put the contents of the line in each variable.
I need to put "m(line number here)" in them.
I've tried things like !!m!N!!!, %m!N!%, and !m%N%!, but it either displays only the line number or
the letter N.